developit/express-es6-rest-api

🔋 Starter project for an ES6 RESTful Express API.

JavaScript

2,437

31 commits

updated Mar 25, 2023

See the code

README

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 [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

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

api
boilerplate
cors
es2015
es6
express
javascript
mongoose

developit/express-es6-rest-api

🔋 Starter project for an ES6 RESTful Express API.

JavaScript

2,437

31 commits

updated Mar 25, 2023

See the code

README

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 [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

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

api
boilerplate
cors
es2015
es6
express
javascript
mongoose

Project health

Overall

2.4/10

Maintained

0/10

Code review

4/10
OpenSSF Scorecard

Latest release

0.2.2 · Nov 6, 2015

Releases this year

0

Significant stargazers

Helmut Januschka

275 followers · starred Jan 2017

Arjun Mahishi

119 followers · starred Jan 2018

Simon Hänisch

100 followers · starred Mar 2017

Keith Ito

379 followers · starred Jun 2018