- clone the repo
$ git clone https://github.com/eberhm/loopback-basic-api
- npm install
$ docker-compose run node-api sh -c 'cd /app/ && npm install'
- Run service
$ docker-compose up -d
In your browser. Go to:
http://localhost:3000/explorer/
In your browser. Go to:
http://localhost:3000/explorer/swagger.json
With this file and the swagger code generator you can create clients for many different programming languages. For more info see:
https://swagger.io/swagger-codegen/
- If you're using docker-machine in mac, your url should be http://192.168.99.100:3000/explorer/