This project was developed in Rocketseat's nlw-together.
This is a project that is the API of NLW Valoriza.
- TypeScript
- TypeORM
- JWT
- uuid
- Express
yarn
# or
npm i
yarn typeorm migration:run
# or
npm run typeorm migration:run
.env
JWT_SECRET_TOKEN=
yarn start
# or
npm run start
- POST
/tags
: Create a new tag (admin only)/users
: Create a new user/login
: Authenticate an user/compliments
: Send a compliment
- GET
/users/compliment/sent
: List of all sent compliments/users/compliment/received
: List of all received compliments/tag
: List of tags/users
: List of users
For more information, read the rules page.