This repository hosts the Cheffy App Api.
Shortlink https://git.io/JeOjk
Locally Cheffy relies on a Redis instance a Mysql instance and a valid Node.js runtime, for more information for what you need to get up and running fast just scroll down for the requirements section.
- Node.js >= 8
- Sequelize Cli
- Redis
- MySQL
- Docker (Optional)
Docker is optional, if you like to make no further changes in your current environment docker is a good choice for you.
Run the app in production mode:
npm startRun the app in development mode:
npm run devRun tests:
npm testRun tests and watch for changes:
npm run watchTo run the project with docker compose just run the command:
docker-compose up -dTo run only redis service with docker use the command:
docker-compose up -d redisAfter satisfying all local dependencies you can start working on the project, we currently work with test driven development, if you are not familiarized with this kind of development take a look at this link
With that in mind you can start creating tests on the test/ folder then use the command npm run watch for watch for changes on tests.
Backoffice to validate and approve chefs' documents
AcessToken: 206591b861ce530ab28355d0a0f56222