1.0.9 • Published 5 years ago

scaffold-express-app v1.0.9

Weekly downloads
7
License
ISC
Repository
github
Last release
5 years ago

scaffold-express-app

A simple express project generator

Installation

$ npm install -g scaffold-express-app
$ scaffold-express-app

OR

$ npx scaffold-express-app

NOTE: With npm@6 this will run this package with npx. If you are on an earlier version of npm you will need to install globally and run directly:

Usage

Guided Process

It couldn't be easier to create new express app. Simply type scaffold-express-app and you'll start the guided process, being asked up to 3 questions:

Question 1: ( Choose one option)

? Choose a language for the project template? 
❯ JavaScript 
  TypeScript

Question 2: ( Choose one option)

? What project template would you like to generate? 
❯ express-basic 
  express-mvc  

Question 3: ( Enter your project name)

? Enter Project name: demo-app

Folder Structure

express-basic ( option structure )
    |
    |____node_modules
    |
    |____app.js
    |
    |_____main.js
    |
    |_____README.md
    |
    |_____package.json
express-mvc ( option structure )
    |
    |____node_modules
    |
    |____srs
    |      |
    |      |_____main.js
    |      |
    |      |_____app.js
    |      |
    |      |_____api.js
    |      |
    |      |_____public
    |      |        |
    |      |        |_____index.html
    |      |
    |      |_____user
    |      |       |
    |      |       |_____router.js
    |      |       |
    |      |       |_____module.js
    |      |       |
    |      |       |_____model.js
    |      |
    |      |_____utils
    |              |
    |              |_____authenticate.js
    |
    |_____README.md
    |
    |_____package.json
1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.2

5 years ago

1.0.3

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago