Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/natanaelvich/clean-arch-nestjs_ignite-rocketseat-23
This repository is a sample project for the Clean Architecture with NestJS.
https://github.com/natanaelvich/clean-arch-nestjs_ignite-rocketseat-23
docker nestjs postgresql prisma typescript vitest
Last synced: about 1 month ago
JSON representation
This repository is a sample project for the Clean Architecture with NestJS.
- Host: GitHub
- URL: https://github.com/natanaelvich/clean-arch-nestjs_ignite-rocketseat-23
- Owner: Natanaelvich
- License: mit
- Created: 2023-08-26T19:04:45.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-04T01:14:31.000Z (over 1 year ago)
- Last Synced: 2024-04-17T22:09:23.418Z (9 months ago)
- Topics: docker, nestjs, postgresql, prisma, typescript, vitest
- Language: TypeScript
- Homepage:
- Size: 1.19 MB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: license
Awesome Lists containing this project
README
# Clean Architecture With NestJS
## About
This repository is a sample project for the Clean Architecture with NestJS.
![image](https://github.com/Natanaelvich/clean-arch-nestjs_ignite-rocketseat-23/assets/52014318/ed6c4626-095e-41c1-bfe2-ec36fa246ad4)
## Technologies
- NestJS
- TypeScript
- Prisma
- PostgreSQL
- Docker
- Vitest
- FakerJS
- DayJS## How to run
### Prerequisites
- [Docker](https://docs.docker.com/get-docker/)
- [Docker Compose](https://docs.docker.com/compose/install/)
- [NodeJS](https://nodejs.org/en/download/)
- [Yarn](https://classic.yarnpkg.com/en/docs/install/#debian-stable)
- [NestJS CLI](https://docs.nestjs.com/cli/overview)### Running the project
1. Run `docker-compose up -d` to start the database.
2. Run `yarn install` to install the dependencies.
3. Run `yarn prisma migrate dev` to run the migrations.
4. Run `yarn start:dev` to start the application.### Running the tests
1. Run `test:e2e` to run the end-to-end tests.
2. Run `test` to run the unit tests.### Providers
- [Cloudflare R2](https://developers.cloudflare.com/r2/)
## License
This repository is licensed under the MIT License. See the [LICENSE](/LICENSE) file for details.