Socket
Socket
Sign inDemoInstall

jbatty

Package Overview
Dependencies
291
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    jbatty

Structure to build an REST API using Express.js


Version published
Weekly downloads
5
decreased by-37.5%
Maintainers
1
Install size
213 kB
Created
Weekly downloads
 

Readme

Source

Express Logo

Express REST API ES6 application generator.

Linux Build Windows Build

Installation

$ npm install -g express-restapi-es6

Quick Start

Create the app:

$ express-restapi-es6 yournameapp

Install dependencies:

$ cd yournameapp
$ npm install

Start your app at http://localhost:3000/api/value

$ npm start

Development mode (Nodemon)

$ npm run dev

Run test

$ npm run test

Command Line Options

This generator can also be further configured with the following command line flags.

    --version        output the version number
-e, --ejs            add ejs engine support
    --pug            add pug engine support
    --hbs            add handlebars engine support
-H, --hogan          add hogan.js engine support
-v, --view <engine>  add view <engine> support (dust|ejs|hbs|hjs|jade|pug|twig|vash) (defaults to jade)
    --no-view        use static html instead of view engine
-c, --css <engine>   add stylesheet <engine> support (less|stylus|compass|sass) (defaults to plain css)
    --git            add .gitignore
-f, --force          force on non-empty directory
-h, --help           output usage information

Used modules

License

MIT

Keywords

FAQs

Last updated on 23 Jun 2018

Did you know?

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc