- Ensure you have docker installed and that you are running Node LTS (
12.13.0
at the time of writing). - Run
yarn
- Run
make setup
. - The Couchbase interface should be reachable on
http://localhost:8091/ui/index.html
once it's up and running, withDBAdmin
andadmin123
as login and password. Nothing is persisted beyond thedocker-compose up
in order to not pollute your local machine. If youdocker-compose down
, you need to rerunmake setup
.
- Just run
npm test
. You need your environment to be bootstrapped withmake setup
beforehand.
-
You can use
npm run dev
to run the application in a live-reloadingnodemon
daemon. -
Or you can use
npm start
to run the application usingts-node
. -
Try
curl http://localhost:8080/concerts?latitude=52.5183113&longitude=13.4717676&radius=5 | jq
for a quick example ;)