Author: Wesley Araujo
- Node.js
- Express
- typescript
- typeorm
- dotEnv
- yup
- jest
- JWT
- bcrypt
- (Back-end) register/list/update/delete Ongs
- (Back-end) register/list/delete Types/Category
- (Back-end) register/list/delete Donations
You need to install Node.js and Yarn first and then, to clone the project via HTTPS, run this command:
git clone https://github.com/W-araujo/ong-donation-api.git
npm install
yarn install
- Create your enviroment variables based on the examples of .env.example
-
Run this code to create the database tables
npm run typeorm migration:run
-
(optional) To delete the database tables use the command
npm run typeorm migration:revert
-
To start the server with docker
docker-compose up
if not, install the docker