Skip to content

initial setup

Pre-release
Pre-release

Choose a tag to compare

@Samuel-Ricardo Samuel-Ricardo released this 26 Aug 14:35
· 232 commits to main since this release
51d9ce2

πŸ“ | Changelog:


πŸ“‘| Implement Documentation With Swagger

🧾 | Context:

Use Swagger to implement automatic documentation of API

βœ… - Add Deps:
|πŸ“Œ- @nestjs/swagger
βœ… - Setup Documentation

360910027-6055e1ab-2bf4-42d1-8a35-7b5601c0efe8


πŸ₯… | Implement a Global Error Handler

🧾 | Context:

Use NestJS filters to implement a global error handler to protect routes.

βœ… - Create DTO:
βœ… - Create Internal Lib;
βœ… - Create & Setup Filter Globally;

image


πŸ—ƒοΈ | Setup Postgres Database and Prisma ORM

🧾 | Context:

Configure the Postgres Database and connect it with application using Prisma ORM

βœ… - Add Deps:
|πŸ“Œ- @prisma/client
|πŸ“Œ- prisma

βœ… - Create New Containers in docker-compose.yaml:
|πŸ“Œ- postgres [Database]
|πŸ“Œ- PgAdmin [DB Dashboard]

βœ… - Update Dockerfile to Prisma
βœ… - Setup Prisma and Connect With Database

βœ… - Create Model:
|πŸ“Œ- User
βœ… - Create Migration
|πŸ“Œ- create_user_model

image