Awesome
api-with-loopback
API REST build with Loopback.io (NodeJS).
git clone git@github.com:jansanchez/api-with-loopback.git nodeapi
cd nodeapi
Install
make setup
Up
make up
Up with logs
make uplog
Run Api container with bash
docker-compose run api bash
Migration with docker exec
docker exec -i apiwithloopback_mysql_1 mysql -uroot -p123456 < ./db/wsa.sql
Loopback app
lb
Loopback models
lb model
Loopback datasources
lb datasource
API explorer
API explorer
API explorer
Paths
- DB: ./db/wsa.sql
- Collection: ./source/api/insomnia/wsa.json