Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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