Boilerplate collection

homeexpress / express-es6-rest-api

Express & ES6 REST API

Starter project for an ES6 RESTful Express API. It comes with ES6 support via babel, REST resources as middleware via resource-router-middleware, CORS support via cors and Body Parsing via body-parser.

# clone it
git clone [email protected]:developit/express-es6-rest-api.git
cd express-es6-rest-api

# Make it your own
rm -rf .git && git init && npm init

# Install dependencies
npm install

# Start development live-reload server
PORT=8080 npm run dev

# Start production server:
PORT=8080 npm start

Tip: If you are using Mongoose, you can automatically expose your Models as REST resources using restful-mongoose.


Handpicked Collection of starter boilerplates for your next side-project, be it with React, Vue, Node, Meteor, Backbone etc.

About | Suggest

© 2018 StarterGrid