The following examples can be found in the /api folder.
/api
The model at api/profile/profileModel.js provides all CRUD operations for the profile resource using a knex connection.
api/profile/profileModel.js
The model in api/dsService is an example of using a model to wrap the calls to an internally created API.
api/dsService
Last updated 5 years ago
Was this helpful?