Morrantho / demeanor

A MEAN CLI tool for reducing boilerplate.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Demeanor:

Demeanor is a MEAN project generator. It's goal is to minimize writing boilerplate code so that you can get to work faster.

Installation:

Make sure you have node and npm installed. You can then install demeanor globally:

npm install -g demeanor@latest

Commands:

  • demeanor new yourApp - Generates a new project, installing dependencies via npm install.
  • demeanor model yourModel - Generates a Mongoose Model for use with MongoDB.
  • demeanor view yourView - demeanor uses .ejs by default.
  • demeanor controller yourController - Generates a controller and Full CRUD methods. This command assumes you've made a model with the same name as your controller, so it imports this model for use within your new controller.

ToDo:

Demeanor does not support Full MEAN project generation at the moment, but it will soon. For now, you'll have to ng new client, within your project and point your static folder within your Server.js to the dist folder that ng build outputs.

About

A MEAN CLI tool for reducing boilerplate.


Languages

Language:JavaScript 100.0%