-
Add a new api route/controller group:
yo mean-seed
and selectnode-controller
then follow the prompts -
Add a new service or library of functions. Do one of:
- Build publicly - create a npm module and publish it then include it via
npm install
- Build locally
- Create a new folder in
app/modules/services
with your file. require
your new module inapp/routes/api/index.js
and pass it in to the any controller modules that need to use it.
- Create a new folder in
- Build publicly - create a npm module and publish it then include it via
-
Add a new database collection
- Update
app/db_schema.json
with the new collection. Fields are technically optional but highly recommended: we use pure mongo-db-native, so a strict schema is NOT enforced. Fields listed here are just for documentation purposes.
- Update
- create yeoman subgenerators for all common actions
- backend/node
- new local service
- backend/node