cli for generate server with nodejs

Usage no npm install needed!

<script type="module">
  import nodejsServerGenerate from '';



This CLI for generate server with nodejs.

Project reference

*REMARK : This template is starter use the mongoDB express nodeJS no front-end for server only.

Install cli

npm install -g nodejs-server-generate


Create a project for nodejs

nodejs-server start <projectName>

Test project

npm test

Run project

npm start

Create a new module

nodejs-server g module <moduleName>

Create a new route(Not create model for mongodb)

nodejs-server g route <routeName>


This template use bcrypt for hash password. If your npm install error bcrypt your can see this a node version support

Thank you.

Sarayut Kungsaranuwat<>