Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/edgartec97/nestjs-ddd-students-teachers
https://github.com/edgartec97/nestjs-ddd-students-teachers
architecture cqrs ddd-architecture docker docker-compose hexagonal-architecture jest jest-tests mikro mikroorm mongodb mongodb-driver nestjs nodejs typescript
Last synced: 26 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/edgartec97/nestjs-ddd-students-teachers
- Owner: EdgarTec97
- Created: 2021-07-29T21:44:58.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-14T03:12:04.000Z (almost 3 years ago)
- Last Synced: 2023-03-09T03:21:00.536Z (almost 2 years ago)
- Topics: architecture, cqrs, ddd-architecture, docker, docker-compose, hexagonal-architecture, jest, jest-tests, mikro, mikroorm, mongodb, mongodb-driver, nestjs, nodejs, typescript
- Language: TypeScript
- Homepage:
- Size: 209 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Description
[Nest](https://github.com/nestjs/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
```bash
# 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
```bash
$ yarn install
```## Running the app witouht docker
```bash
# development
$ yarn start# watch mode
$ yarn start:dev# production mode
$ yarn start:prod
```## Test
```bash
# 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](https://docs.nestjs.com/support).
## Stay in touch
## License
Nest is [MIT licensed](LICENSE).