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

https://github.com/cdimascio/express-swagger-skeleton

Skeleton for Express.js and Swagger
https://github.com/cdimascio/express-swagger-skeleton

Last synced: 8 months ago
JSON representation

Skeleton for Express.js and Swagger

Awesome Lists containing this project

README

          

# express-swagger-skeleton

### ** Deprecated ** Use [generator-express-no-stress](https://github.com/cdimascio/generator-express-no-stress)

Sick of writing validation code for you REST APIs? No worries, just create the Swagger docs, and this project will automatically validate all of your requests according to the Swagger doc!!!

A *simple* application skeleton that gets you up and running with **Express**, **Swagger**, **Bunyan** and **ES2015** *in no time*!


### Includes
* [Express.js](http://expressjs.com/) - Fast, unopinionated, minimalist web framework for Node.js
* [Babel.js](https://babeljs.io/) - Use new syntax, right now without waiting for support
* [Bunyan](https://github.com/trentm/node-bunyan) - a simple and fast JSON logging module for node.js services
* [Swagger](http://swagger.io) - is a simple yet powerful representation of your RESTful API.
* [SwaggerUI](http://swagger.io/swagger-ui/) - dynamically generate beautiful documentation and sandbox from a Swagger-compliant API

### Clone It
* `git clone https://github.com/cdimascio/express-swagger-skeleton.git`

### Install It
* `npm install`

### Run It
* `npm start`

### Try It
* Point you're browser to [http://localhost:3000](http://localhost:3000)
* Invoke the example REST endpoint `curl http://localhost:3000/api/v1/examples`


### License

MIT