- Install dependencies:
npm install
- Up Docker
docker compose up -d
- Build migrations:
nxp prisma init && npx prisma generate && npx prisma migrate dev
- Build project:
npm run build
- Start the server:
npm start
This API is used to create a queue of individuals. This document provides details about the API endpoints available in the system.
All endpoints are relative to the base URL: localhost:3001/api/v1/
...soon
- Description: Collection of endpoints related to the queue.
- Scope: Collection
- Description: Retrieves user information by ID.
- Method: GET
- URL:
/user/1
- Description: Retrieves user information by username.
- Method: GET
- URL:
/user/erikferreira
- Description: Deletes a user by ID.
- Method: DELETE
- URL:
/user/2
- Description: Retrieves all users.
- Method: GET
- URL:
/user
- Parameters:
- username: Jason
- Description: Creates a new user.
- Method: POST
- URL:
/user/Jason
- Name: Base Environment
- URL:
localhost:3001/api/v1/
- All requests use the same base URL unless specified.