Skip to content

es6 support which node5.x supported. written in es6 width router and mongoose

Notifications You must be signed in to change notification settings

costlife/express-es6

Repository files navigation

express-es6

Install

  1. git clone https://github.com/costlife/express-es6.git
  2. cd express-es6
  3. npm install && npm start
  4. view http://localhost:3000/

Description

  1. use es6 features which are supported by node 5.x
  2. use mongodb & mongoose as database
  3. add router and model control in this framework
  4. use Bootstrap3 and jQuery as a demo(you can use everything as you wish)

Dependency

  1. node 5.x
  2. mongodb 3.x

ChangeLog 2016.01.05

  1. separate action and api
  2. if you add another api.js, it will help u to hava basic methods: add, find, find/:id, delete/:id, update/:id, clear, all these methods are auto created, the only thing you need to do is use them by POST
  3. action is now only used for render the page, the filename is used as the first router.
  4. add a small demo for use, try it.
  5. add Postman api samples

About

es6 support which node5.x supported. written in es6 width router and mongoose

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published