Socket
Book a DemoInstallSign in
Socket

scaffold-express-app

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scaffold-express-app

Scaffold an express app

latest
Source
npmnpm
Version
1.0.9
Version published
Maintainers
1
Created
Source

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

Keywords

express

FAQs

Package last updated on 29 Apr 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.