Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 845 Bytes

README.md

File metadata and controls

25 lines (21 loc) · 845 Bytes

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