express-es6-rest-api

:battery: Starter project for an ES6 RESTful Express API.

Github stars Tracking Chart

Express & ES6 REST API Boilerplate

This is a straightforward boilerplate for building REST APIs with ES6 and Express.

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

Getting Started

# clone it
git clone git@github.com: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

Docker Support

cd express-es6-rest-api

# Build your docker
docker build -t es6/api-service .
#            ^      ^           ^
#          tag  tag name      Dockerfile location

# run your docker
docker run -p 8080:8080 es6/api-service
#                 ^            ^
#          bind the port    container tag
#          to your host
#          machine port   

License

MIT

Main metrics

Overview
Name With Ownerdevelopit/express-es6-rest-api
Primary LanguageJavaScript
Program languageJavaScript (Language Count: 1)
Platform
License:MIT License
所有者活动
Created At2015-03-23 15:43:27
Pushed At2023-03-25 08:26:54
Last Commit At2018-01-22 16:15:52
Release Count1
Last Release Name0.2.0 (Posted on )
First Release Name0.2.0 (Posted on )
用户参与
Stargazers Count2.5k
Watchers Count67
Fork Count551
Commits Count35
Has Issues Enabled
Issues Count40
Issue Open Count13
Pull Requests Count10
Pull Requests Open Count10
Pull Requests Close Count12
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private