Yannick Guern 7482a8d3dc add circle from android app 7 rokov pred
..
src 7482a8d3dc add circle from android app 7 rokov pred
.gitignore 37cd7e9fdb rename 7 rokov pred
Dockerfile 37cd7e9fdb rename 7 rokov pred
LICENSE 37cd7e9fdb rename 7 rokov pred
Procfile 37cd7e9fdb rename 7 rokov pred
README.md 37cd7e9fdb rename 7 rokov pred
package.json 37cd7e9fdb rename 7 rokov pred
yarn.lock 37cd7e9fdb rename 7 rokov pred

README.md

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.

Sponsor

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   

Docker Demo

It's supposed to be pretty easy to take your Docker to your favourite cloud service, here's a demo of what's our Dockerized bolierplate is like: https://docker-deployment-yudfxfiaja.now.sh/api

License

MIT