express-es6-rest-api

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

Github星跟踪图

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

主要指标

概览
名称与所有者developit/express-es6-rest-api
主编程语言JavaScript
编程语言JavaScript (语言数: 1)
平台
许可证MIT License
所有者活动
创建于2015-03-23 15:43:27
推送于2023-03-25 08:26:54
最后一次提交2018-01-22 16:15:52
发布数1
最新版本名称0.2.0 (发布于 )
第一版名称0.2.0 (发布于 )
用户参与
星数2.5k
关注者数67
派生数550
提交数35
已启用问题?
问题数40
打开的问题数13
拉请求数10
打开的拉请求数10
关闭的拉请求数12
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?