create-express-with-superpowers

1.2.7 • Public • Published

Create Express With Superpowers

Generate a new project based on express-with-superpowers

Features

  • Preconfigured JSON logger
  • Swagger support
  • IDE integration (editorconfig) and linter (eslint + prettier + aribnb-base)
  • Automated tests (end-to-end, unit, coverage, travis)
  • And more!

Usage

$ npm init express-with-superpowers ./example && cd ./example

CLI

Usage: npm init express-with-superpowers [options] <project-location>

Options:

  -V, --version                    output the version number
  -D, --description [description]  add a description
  -A, --author [author]            add an author
  -K, --keywords <keywords>        a list of keywords (ex: foo,bar,baz)
  -h, --help                       output usage information

Content generated

├── .editorconfig
├── .eslintrc.json
├── .gitignore
├── .npmrc
├── .travis.yml
├── bin
│   ├── start.js
│   └── stop.js
├── license.txt
├── package.json
├── package-lock.json
├── public
│   └── favicon.ico
├── readme.md
├── src
│   ├── application.js
│   ├── heartbeat
│   │   ├── index.js
│   │   ├── routes-handlers.js
│   │   ├── routes.js
│   │   ├── service.js
│   │   └── swagger.js
│   └── shared
│       ├── api-registrar.js
│       ├── configuration.js
│       ├── logger.js
│       ├── middlewares
│       │   ├── add-dedicated-logger-to-each-request.js
│       │   ├── add-request-id.js
│       │   ├── handle-errors.js
│       │   ├── handle-unknown-routes.js
│       │   ├── index.js
│       │   ├── log-exiting-response.js
│       │   ├── log-incoming-request.js
│       │   └── support-boom-in-response.js
│       └── swagger-base.js
└── test
    └── e2e
        ├── heartbeat.js
        └── hook.js

Created by

  • Simon Renoult

License

See license.txt

Package Sidebar

Install

npm i create-express-with-superpowers

Weekly Downloads

1

Version

1.2.7

License

MIT

Unpacked Size

9.73 kB

Total Files

8

Last publish

Collaborators

  • simonrenoult