Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 870 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 870 Bytes

This task was built using Express TypeScript Typeorm

Steps to run The project

  • renaming .env.example to .env
  • run : npm install
  • run : npm run migration:run
  • run : npm run dev

Docker

  • 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

Base Url

API

  • for API documentation that contains examples for success, failures and the data model endpoints

Testing

  • run : npm run test