Application Description
Prerequisites NodeJS LTS v18.14.0
- Install nvm on your machine
- run
nvm install v18.14.0
- run
nvm use
- Run
npm install
in the working directory to install required packages - Reference
.env.example
and create your own.env
file - Run
npm run db:create
to create the database. - Run
npm run db:migrate
to migrate models. - Run
npm run db:seed
to seed database. - Run
npm run dev
to start the development server
src/
├─ consts/
│ ├─ enviroment.ts
│ ├─ userFriendlyMessages.ts
├─ controllers/
│ ├─ ExampleController.ts
├─ db/
│ ├─ migrations/
│ ├─ seeders/
│ ├─ index.ts
├─ middlewares/
├─ models/
│ ├─ Example.ts
│ ├─ index.ts
├─ repositories/
│ ├─ BaseRepository.ts
├─ routes/
│ ├─ ExampleRoutes.ts
├─ services/
│ ├─ ExampleService.ts
├─ types/
│ ├─ index.ts
├─ utils/
│ ├─ container.ts
│ ├─ dbUtils.ts
├─ app.ts
├─ server.ts
- Use Gitmoji to add emojis to your commit messages
- Use the following format for your commit messages
- ✨
feat: add new feature
- 🐛
fix: fix a bug
- ♻️
refactor: refactor code
- 🎨
style: change styling
- 🔥
chore: remove unused code
- 📝
docs: update documentation
- 📦
package: update package
- 🚀
deploy: deploy to production
- 🗑️
waste: remove unused code
- ✨