Skip to content

EdgarTec97/NestJS-DDD-Students-Teachers

Repository files navigation

Description

Nest framework TypeScript starter repository.7

This is a NestJS project that uses a hexagonal architecture, DDD: Domain Driven Design, TDD: Test Driven Design, Mikro ORM as ORM for the database in MongoDB and Swagger to document all the endpoints.

Docker

You must have docker and docker-compose installed on your computer

from the root of the project execute the following commands in order

# install the necessary dependencies to generate the dist folder and run the containers
yarn  up

that's for user creation, after that you can already quit the bash and use the API

Installation witouht docker

$ yarn install

Running the app witouht docker

# development
$ yarn start

# watch mode
$ yarn start:dev

# production mode
$ yarn start:prod

Test

# unit tests
$ yarn test

# e2e tests
$ yarn test:e2e

# test coverage
$ yarn test:cov

Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.

Stay in touch

License

Nest is MIT licensed.