This is a back-end project for managing users, companies and locations. In this application, a user can own multiple companies and each company can own multiple locations.
- Node
- NestJS
- Postgres
- TypeOrm
To install and run this project locally, follow the steps below:
- Clone the repository to your machine
- Access the folder with your source code editor
- Install dependencies using the command:
npm install
- Create a Postgres database for this application, you can use the project's docker compose if you want
- Configure the environment variables according to the
.env.example
file - Run the migrations using the command:
npm run migration:run
- (Optional) You can run the tests using the command:
npm run test
- Finally, start the project using the command:
npm run start:dev
If you want, the documentation will be available via the route: /doc
-
112 - Clean Architecture com TypeScript & Node.js | ✨ API COMPLETA ✨
-
Entenda CLEAN ARCHITECTURE de uma vez por todas! 🧻 | Como DEV ser!
Matheus Benevides Militão
Contacts: