Skip to content

hackersdotmu/build-node-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Node App

Build a node application boilerplate by running one command!

Live example of build-node-app running

How to use?

$ npx build-node-app app-name

Example

$ npx build-node-app hello-world
$ cd hello-world
$ node index.js

Directory

hello-world
  - node_modules/
  - index.js
  - package.json

Arguments

ArgArgumentDescription
-p--portSpecify port number to serve the app. Default is 3000
--mongodbInstall and import mongodb to your app
--mysqlInstall and import mysql to your app
--corsInstall and import cors to your app
--gitInitialise the project as a git project. Add .git and .gitignore
-v--versionSpecify version of app

NPM Package - Repository