The project in question is a backend challenge developed in response to an initiative promoted by the company WeFit. This challenge was conceived as an opportunity for developers to demonstrate their skills in creating robust and efficient solutions for specific problems in the software development context.
It is necessary to have Docker and Node installed and configured.
To access any route of the application, it is essential to add an authorization token to the request header, using the Bearer Token format. The token can be configured in the .env file, using the SECRET_KEY variable.
If you are using Swagger for testing purposes, remember to insert the authorization header into the "Authorize" field located at the top of the documentation.
# Clone the project and access its folder.
$ git clone https://github.com/KatryelMenezesDev/wefit-test-back-end
$ cd wefit-test-back-end# To start the project
$ yarn install
$ yarn docker:up
$ yarn prisma:migrate
$ yarn dev
# open Swagger [Localhost](http://localhost:3333/api-docs) in browser- Open Swagger Localhost in browser.
- Add User Create
- Add User Read
- Add User Update
- Add User Delete