create-hokage-js-app
Version:
π₯ Best CLI tool to create a MERN stack template. Quick, clean, and customizable.
232 lines (218 loc) β’ 7.31 kB
Markdown
# create-hokage-js-app
The easiest way to get started with hokage.js is by using create-hokage-js-app. This CLI tool enables you to quickly start building a new Mern application, with everything set up for you. You can create a new app using the Mern templates. To get started, use the following command:
## Installation
You can create a new project interactively by running:
```bash
npx create-hokage-js-app@latest <my-app>
```
or
```bash
bunx create-hokage-js-app@latest <my-app>
```
## Demo
Javascript Full Template:
```
βββ πjs-temp
βββ πapi
βββ πsrc
βββ πconfig
βββ constants.js
βββ db.js
βββ validateEnv.js
βββ πcontrollers
βββ auth.controller.js
βββ πmiddlewares
βββ auth.middlewares.js
βββ error.middleware.js
βββ validation.middleware.js
βββ πmodels
βββ user.model.js
βββ πroutes
βββ auth.routes.js
βββ πservices
βββ auth.service.js
βββ πutils
βββ ApiResponse.js
βββ AppError.js
βββ Dto.js
βββ Jwt.js
βββ πvalidations
βββ auth.validation.js
βββ app.js
βββ .env
βββ .gitignore
βββ index.js
βββ package.json
βββ πclient
βββ πpublic
βββ vite.svg
βββ πsrc
βββ πassets
βββ react.svg
βββ App.css
βββ App.jsx
βββ root.jsx
βββ .gitignore
βββ eslint.config.js
βββ index.html
βββ package.json
βββ README.md
βββ vite.config.js
```
Typescript Full Template:
```
βββ πts-temp
βββ πclient
βββ πpublic
βββ vite.svg
βββ πsrc
βββ πassets
βββ react.svg
βββ App.css
βββ App.tsx
βββ root.tsx
βββ vite-env.d.ts
βββ .gitignore
βββ eslint.config.js
βββ index.html
βββ package.json
βββ tsconfig.app.json
βββ tsconfig.json
βββ tsconfig.node.json
βββ vite.config.ts
βββ πapi
βββ πsrc
βββ πconfig
βββ constants.ts
βββ db.ts
βββ validateEnv.ts
βββ πcontrollers
βββ auth.controller.ts
βββ πmiddlewares
βββ auth.middlewares.ts
βββ error.middleware.ts
βββ validation.middleware.ts
βββ πmodels
βββ user.model.ts
βββ πroutes
βββ auth.routes.ts
βββ πservices
βββ auth.service.ts
βββ πutils
βββ ApiResponse.ts
βββ AppError.ts
βββ Dto.ts
βββ Jwt.ts
βββ πvalidations
βββ auth.validation.ts
βββ app.ts
βββ .env
βββ .gitignore
βββ index.ts
βββ package.json
βββ tsconfig.json
```
Javascript Frontend Typescript Backend Full Template:
```
βββ πjs-fr-ts-ba
βββ πapi
βββ πsrc
βββ πconfig
βββ constants.ts
βββ db.ts
βββ validateEnv.ts
βββ πcontrollers
βββ auth.controller.ts
βββ πmiddlewares
βββ auth.middlewares.ts
βββ error.middleware.ts
βββ validation.middleware.ts
βββ πmodels
βββ user.model.ts
βββ πroutes
βββ auth.routes.ts
βββ πservices
βββ auth.service.ts
βββ πutils
βββ ApiResponse.ts
βββ AppError.ts
βββ Dto.ts
βββ Jwt.ts
βββ πvalidations
βββ auth.validation.ts
βββ app.ts
βββ .env
βββ .gitignore
βββ index.ts
βββ package.json
βββ tsconfig.json
βββ πclient
βββ πpublic
βββ vite.svg
βββ πsrc
βββ πassets
βββ react.svg
βββ App.css
βββ App.jsx
βββ root.jsx
βββ .gitignore
βββ eslint.config.js
βββ index.html
βββ package.json
βββ README.md
βββ vite.config.js
```
Typescript Frontend Javascript Backend Full Template:
```
βββ πts-fr-js-ba
βββ πapi
βββ πsrc
βββ πconfig
βββ constants.js
βββ db.js
βββ validateEnv.js
βββ πcontrollers
βββ auth.controller.js
βββ πmiddlewares
βββ auth.middlewares.js
βββ error.middleware.js
βββ validation.middleware.js
βββ πmodels
βββ user.model.js
βββ πroutes
βββ auth.routes.js
βββ πservices
βββ auth.service.js
βββ πutils
βββ ApiResponse.js
βββ AppError.js
βββ Dto.js
βββ Jwt.js
βββ πvalidations
βββ auth.validation.js
βββ app.js
βββ .env
βββ .gitignore
βββ index.js
βββ package.json
βββ πclient2-ts
βββ πpublic
βββ vite.svg
βββ πsrc
βββ πassets
βββ react.svg
βββ App.css
βββ App.tsx
βββ root.tsx
βββ vite-env.d.ts
βββ .gitignore
βββ eslint.config.js
βββ index.html
βββ package.json
βββ tsconfig.app.json
βββ tsconfig.json
βββ tsconfig.node.json
βββ vite.config.ts
```
## Authors
- [hassaammgl](https://github.com/hassaammgl/create-hokage-js-app)