create-nodejs-express-project

1.0.4 • Public • Published

create-express

This is a CLI for creating an express project. It saves you the pain of starting your nodejs express project by creating all the necessary files to get your started. It has basic user registration and login created with the model and route in place. It follows the MVC structure. It also initialise git for you.

To install it globally run :

 npm install -g create-nodejs-express-project

OR

To install in on a single project run:

 npm install  create-nodejs-express-project

OR

yarn add create-nodejs-express-project

Usage:

Run :

   create-express --git --install

The --git is the flag to initialise git and --install is for installing all the requiered dependencies for you.

If you don't want to initialise git just yet just remove the flag like this:

create-express  --install

And if you don’t want to install the dependencies yet or wish to install them with something else rather just remove --install

Cli comes with mongoose and JWT installed:

Add your mongoDB and your JWT secret secret in the .env file.

To test it run:

node index.js

Package Sidebar

Install

npm i create-nodejs-express-project

Weekly Downloads

8

Version

1.0.4

License

ISC

Unpacked Size

57.8 kB

Total Files

13

Last publish

Collaborators

  • sawaneh1