generator-node-api-cli

2.1.5 • Public • Published

Node API CLI

Node Api CLI makes it easy to create an application that already works, with user session control with JwT and access and CRUDs logging, and using SendGrid as the default email send manager.

Currently with bank configuration ready only for MongoDB through Mongoose.

Already follows the best API practices in Node Js!

This facilitator has an extension to the VS Code of name Snippets node-api-cli, to further assist in maintaining your application.

Install

  1. Open the terminal and point to the project's destination folder;
  2. Execute in the terminal:
npm install -g yo generator-node-api-cli
  1. And with that the node-api-cli will be available for use running:
yo node-api-cli

Available options

When executing the initial command "yo node-api-cli" you can choose one of the options below:

  • Create new API project with MongoDB: which creates a default design structure API on NodeJs using MongoDB;
  • Create new Entity with MongoDB: which creates a model, control, repository and default route of the entity using MongoDB;
  • Create New Route: which creates a default project route API in NodeJs;
  • Create New Controller: which creates a default project control API on NodeJs;
  • Create new Repository with Mongoose: which creates a standard repository of the API project on NodeJs using MongoDB through Mongoose;
  • Create new Mongoose Template: which creates a default project template API on NodeJs using MongoDB via Mongoose;

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
2.1.53latest

Version History

VersionDownloads (Last 7 Days)Published
2.1.53
2.1.40
2.1.30
2.1.20
2.1.10
2.1.00
2.0.00
1.2.10
1.2.00
1.1.60
1.1.50
1.1.40
1.1.31
1.1.10
1.1.00

Package Sidebar

Install

npm i generator-node-api-cli

Weekly Downloads

4

Version

2.1.5

License

ISC

Unpacked Size

90.8 kB

Total Files

57

Last publish

Collaborators

  • josembergff