npm install
npm run start:dev
npm run build
npm run lint
npm run test
- https://true-north-challenge-api-production.up.railway.app
- https://g0ry7vtj1c.execute-api.us-west-1.amazonaws.com/api (versioning not working)
This documentation provides details about the endpoints.
- Endpoint:
POST /api/v1/users/registration
- Description: Registers a new user.
- Request Body:
{ "email": "stan.marsh@southpark.com", "password": "hola123" }
- Endpoint:
POST /api/v1/records/operation
- Description: Performs an operation on records.
- Authentication: Bearer Token
- Request Body:
{ "userAuthUid": "{{userAuthUid}}", "operation": "subtraction", "a": 1, "b": 2 }
- Endpoint:
GET /api/v1/records
- Description: Retrieves user records.
- Authentication: Bearer Token
- Query Parameters:
userAuthUid
: {{userAuthUid}}q
: (optional)take
: 5skip
: 0orderBy
: idorder
: DESC
- Endpoint:
DELETE /api/v1/records
- Description: Deletes a record.
- Query Parameters:
uid
: {{uid}}