express-restapi-es6
v2.0.0
Published
Structure to build an REST API using Express.js
Downloads
5
Maintainers
Readme
Custom structure to build an REST API using Express.js
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
Used modules
- Babel-cli https://github.com/babel/babel/tree/master/packages/babel-cli
- babel-preset-es2015 https://github.com/babel/babel/tree/master/packages/babel-preset-es2015
- Cors https://github.com/expressjs/cors
- Express https://github.com/expressjs/express
- Helmet https://github.com/helmetjs/helmet
- Mocha https://github.com/mochajs/mocha
- Chai https://github.com/chaijs/chai
- Chai-http https://github.com/chaijs/chai-http
- Morgan https://github.com/expressjs/morgan
- Nodemon https://github.com/remy/nodemon
- Chalk https://github.com/chalk/chalk
- DotENV https://github.com/motdotla/dotenv
- Prettier https://github.com/prettier/prettier
- Swagger JSDoc https://github.com/Surnet/swagger-jsdoc
- Swagger UI Express https://github.com/scottie1984/swagger-ui-express