You will need Docker installed locally and afterwards simple run:
$ docker-compose up
That's it you can now go and use the following endpoints:
- GraphQL
- localhost:3000/graphql
- REST
- localhost:3000/cinemas
- localhost:3000/movies
- localhost:3000/movies/:movieId
- localhost:3000/shows/:movieId
- localhost:3000/shows/:movieId/:cinemaId
MOVIEDB_APIKEY
You can get it from https://api.themoviedb.org
SENTRY_DSN
Only needed in production
We are currently using Husky for our pre-commit & pre-push scripts.
This tool should set 2 scripts:
- pre-commit: This script runs right after you do a commit and it permits you to commit only if
npm run lint
passes - pre-push: This script runs right after you do a push and it permits you to push only if
npm run lint && npm run test
passes.
These scripts can be bypassed if you use the --no-verify
argument, for example:
git add .
git commit -m 'My hard drive is about to die, i need to commit this' --no-verify
git push origin some-branch --no-verify
Anyways, is not recommended to bypass the git hooks just because you can, they are here to protect us from non-intentional mistakes at pushing non-working code
Thanks goes to these wonderful people (emoji key):
Leonardo Galante 💻 🚧 👀 |
Hugo David Farji 💻 🚧 👀 |
Gonzalo Pozzo 💻 🚧 👀 |
This project follows the all-contributors specification. Contributions of any kind welcome!