This is example api.
This API is publicly exposed on heroku free tier: https://spacexl-api.herokuapp.com/
Demo of the app that consumes this api is publicly available on Netlify: https://spacexl.netlify.com/
Demo app source is available on github: https://github.com/nkostic/spacexl-ui
This command will download required dependencies, bootstrap node api and initialize db. API will be exposed on port 3001 and db on port 5432.
Configuration can be found in docker-compose.yaml located in the root of this repo.
docker-compose up -d
This command will stop all containers
docker-compose stop
This command will stop and destroy all containers
docker-compose down
npm run seed
Make sure you db is running for this integration tests to pass
npm run test
# to exit test control c on mac, ctrl c on windows
npm run dev
# nodemon will reload the server on file save