@gigster/block-loopback
v2.0.0
Published
Role | Name | Email | Slack ---- | ---- | ----- | ----- *Product Owner* | Frances Haugen | [[email protected]](mailto:[email protected]) | [@frances](https://gigster.slack.com/messages/@frances) | *Maintainer* | Jerome Curlier | [[email protected]](m
Downloads
89
Readme
Loopback Block - @gigster/block-loopback
Role | Name | Email | Slack ---- | ---- | ----- | ----- Product Owner | Frances Haugen | [email protected] | @frances | Maintainer | Jerome Curlier | [email protected] | @jerome | Developer | Mark Miyashita | [email protected] | @mark |
Overview
Add the following yaml to your gig.yaml
to create a new block called api
using block-loopback
. Make sure to replace VERSION
with the specific version of the module. The latest version can be found here.
...
blocks:
- name: api
location: 'npm:@gigster/block-loopback@VERSION'
The block-loopback
generates a barebones Loopback 3.x API. We provide a base eslint config which makes the code standardized.
Usage
After generating your project, you can cd
into the new api
directory. To get your app up and running, simply run:
yarn install
yarn start
and you should see:
Web server listening at: http://localhost:3000
Browse your REST API at http://localhost:3000/explorer
Navigate to http://localhost:3000/explorer to view the Loopback Explorer.