A template for backend api's using NestJS
Domain-driven design (DDD) is a major software design approach
DDD is against the idea of having a single unified model; instead it divides a large system into bounded contexts, each of which have their own model.
- Mysql >= 9
- Node >= 16
- MySQL
- NestJS
- Passport JWT
- Sequelize
- Typescript
- Docker
- Eslint
- Prettier
- Jest
You can import those collections into your postman
on misc/ folder
$ npm install
generate a .env file from .env.example
This project uses sequelize to ORM layer
execute the following commands to populate database
CREATE DATABASE ecommerce;
make sure it's created before running migrations
npm run db:migrate
and finally
npm run db:seed