An open API service indexing awesome lists of open source software.

https://github.com/imnotannamaria/nestjs-fundamentals

Learning NestJS fundamentals
https://github.com/imnotannamaria/nestjs-fundamentals

bcrypt docker dockercompose jwt nestjs prisma vitest zod

Last synced: 10 months ago
JSON representation

Learning NestJS fundamentals

Awesome Lists containing this project

README

          

## NestJS fundamentals with node

- Zod for validations
- Docker and Docker Compose
- Vitest for tests

#### .env file

DATABASE_URL=
PORT=
JWT_PRIVATE_KEY=
JWT_PUBLIC_KEY=

#### Endpoints

- [POST] /accounts > Create a new account
- [POST] /sessions > Authenticate a existing user
- [POST] /questions > Create a new question
- [GET] /questions?page=x > Fetch recent questions