Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/simonrenoult/create-express-with-superpowers
Express with a plugin preset and opinionated choices.
https://github.com/simonrenoult/create-express-with-superpowers
express nodejs
Last synced: 8 days ago
JSON representation
Express with a plugin preset and opinionated choices.
- Host: GitHub
- URL: https://github.com/simonrenoult/create-express-with-superpowers
- Owner: simonrenoult
- License: mit
- Created: 2018-09-18T11:12:02.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-02-11T12:11:51.000Z (almost 3 years ago)
- Last Synced: 2024-10-10T13:08:00.226Z (about 1 month ago)
- Topics: express, nodejs
- Language: JavaScript
- Homepage:
- Size: 146 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: readme.md
- License: license.txt
Awesome Lists containing this project
README
Create Express With Superpowers
===> Generate a new project based on [express-with-superpowers](https://github.com/simonrenoult/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!](https://github.com/simonrenoult/express-with-superpowers#features)Usage
---
```bash
$ npm init express-with-superpowers ./example && cd ./example
```CLI
---
```
Usage: npm init express-with-superpowers [options]Options:
-V, --version output the version number
-D, --description [description] add a description
-A, --author [author] add an author
-K, --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