Skip to content

Releases: Samuel-Ricardo/Tutorialls_API

First Version

Choose a tag to compare

@Samuel-Ricardo Samuel-Ricardo released this 28 Aug 11:30
59a0bb7

📝 | Changelog:

🛂 | Implements User Domain

🧾 | Context:

Implement the User Domain with authentication and data persistence, applying clean architecture.

✅ - Entity
✅ - Repository;
✅ - Use Cases;
✅ - Policies
✅ - Services;
✅ - Controller;
✅ - DTO
✅ - Authentication Module;
|📌- JWT
|📌- Local
✅ - Password Hashing and Compare
|📌- Bcrypt
✅ - Update Documentations;
✅ - Update Database;
✅ - Update Docker Image;
✅ - Map new erros;
✅ - New Tests:
|📌- Unit
|📌- Integration
|📌- E2E

image


🦺 | Implements validation

🧾 | Context:

Implements data validation with Zod and Class Validator using Nestjs Pipes

✅ - Setup Entity Validation
|📌- User
✅ - Setup DTO Validation
|📌- Login
|📌- Signup
✅ - Create Custom Pipe
|📌- Zod
✅ - Create Zod Schemas
|📌- Login
|📌- Signup

image


🔏 | Task: Implements encryption

🧾 | Context:

Implements data encryption and decryption to ensure secure communication between services, this is applied with pipes and middleware

✅ - Create Encryption Module;
✅ - Create Service;
✅ - Create Use-Cases;
✅ - Create Tests
✅ - Create Middleware
✅ - Create Pipe

image


⚙️ | Task: Setup Config

🧾 | Context:

Setup config module and env.

✅ - update .env.example
✅ - Create Module Config
✅ - Refact Project

image

initial setup

initial setup Pre-release
Pre-release

Choose a tag to compare

@Samuel-Ricardo Samuel-Ricardo released this 26 Aug 14:35
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