Skip to content

redbabel/loopback-boilerplate

Repository files navigation

##Development:

  1. create .dev file

    DEBUG='boilerplate:*'
    
  2. npm run start.local

  3. api explorer http://localhost:3000/explorer

  4. copy and paste the id field in the response to "Set access token" at the top right

###Postman

  1. import http://localhost:3000/explorer/swagger.json

###From Boiler plate to working code

  1. Code.

    1. rename user model name (now 'MyUser' is been used).
    2. reame 'boilerplate' in debug assertion into the name of your project.
  2. Tests

    1. add test users and test roles at https://github.com/redbabel/loopback-boilerplate/blob/master/test/dbUtils.js
    2. TBD

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published