This task was built using Express TypeScript Typeorm
- renaming .env.example to .env
- run : npm install
- run : npm run migration:run
- run : npm run dev
- renaming .env.example to .env
- replace the value of .env/DB_HOST to mysqldb
- replace the value of .env/TS_NODE to false
- run : docker-compose up --build
- to access node container run : docker exec -it trufla-node-api sh
- run : npm run migration:run
- local is : http://localhost:4000
- heroku is : https://trufla-node.herokuapp.com
- for API documentation that contains examples for success, failures and the data model endpoints
- run : npm run test