- Configurations =>
- Basic configurations goes in /configurations/config.json
- O-auth configurations for facebook, google ... => /configurations/auth.json
Note: basic configurations => configurations/sample.config.json
To create a mongodb collection.
- run app
- localhost:port and follow the action
Note: Create a folder and replace
modelFolder
in config.json with that folder. create a new folder in that folder with a json file of same name. Add mongoose schema there to create collection and basic rest apis
The hooks will be in the same folder as model schema. Each hook file must export a function.
To use default user module, add property defaultUser: true
in configurations/auth.json