This is the API used by the project JRM Compensados
- Nodejs
- Express
- Typescript
- Jest
- TypeORM
- Postgres
- bcryptjs
- celebrate
- jsonwebtoken
- pdfkit
- tsyringe
- date-fns
- CORS
First you need to clone this repository
git clone https://github.com/mat-alcantara/jrm-api jrm-api
Go to the repository's folder
cd jrm-api
Install everything
npm install
To use this project, you'll need to create a Docker container using postgres as image.
Then use .env.example in root folder to create your .env.local
After everything's ok, just run
npm run dev:server
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.