Skip to content

Instantly share code, notes, and snippets.

@bunnywong
Last active August 29, 2015 14:28
Show Gist options
  • Save bunnywong/892a9758d5d30b18d779 to your computer and use it in GitHub Desktop.
Save bunnywong/892a9758d5d30b18d779 to your computer and use it in GitHub Desktop.
strongloop
sudo npm install -g strongloop
slc loopback
slc loopback:datasource ItemsDB
> MongoDB
slc loopback:model Item
Item
>item(mongodb)
slc run
Next steps:
Change directory to your app
$ cd mytrial
Create a model in your app
$ slc loopback:model
Compose your API, run, deploy, profile, and monitor it with Arc
$ slc arc
Run the app
$ node .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment