Mongoose Auto API - Setup CLI module
Automatic Mongoose REST API - Setup CLI Module
☕
Install
npm i -S mongoose-auto-api.cli
Model Setup
Usage
cli = require('mongoose-auto-api.cli')
cli()
CLI Options
-
Set Secret Key
- Sets secret key, must have a secret key to add admin users to the Rest API and web app.
-
Configure Rest API and Web App
- Configures Rest API and Web App settings such as title, description, ports, hidden fields, etc.
-
Configure App Package
- Configures fields in app's
package.json
file such as name, description, author, repository, etc.
- Configures fields in app's
-
Create SSL Keys with Let's Encrypt
- Steps to create SSL Keys w/ Let's Encrypt to secure PWA
-
Exit
- Closes the CLI