资源算法express-es6-rest-api

express-es6-rest-api

2020-02-18 | |  43 |   0 |   0

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 itgit clone git@github.com:developit/express-es6-rest-api.gitcd express-es6-rest-api# Make it your ownrm -rf .git && git init && npm init# Install dependenciesnpm install# Start development live-reload serverPORT=8080 npm run dev# Start production server:PORT=8080 npm start

Docker Support

cd express-es6-rest-api# Build your dockerdocker build -t es6/api-service .#            ^      ^           ^#          tag  tag name      Dockerfile location# run your dockerdocker run -p 8080:8080 es6/api-service#                 ^            ^#          bind the port    container tag#          to your host#          machine port

License

MIT


上一篇:esprima

下一篇:es-module-loader

用户评价
全部评价

热门资源

  • seetafaceJNI

    项目介绍 基于中科院seetaface2进行封装的JAVA...

  • spark-corenlp

    This package wraps Stanford CoreNLP annotators ...

  • Keras-ResNeXt

    Keras ResNeXt Implementation of ResNeXt models...

  • capsnet-with-caps...

    CapsNet with capsule-wise convolution Project ...

  • shih-styletransfer

    shih-styletransfer Code from Style Transfer ...