xgqfrms-GitHub / node-express4-restful-api

RESTful-API-Node-Express4
https://github.com/xgqfrms/node-express4-restful-api
MIT License
1 stars 1 forks source link

MongoDB & Mongoose #1

Open xgqfrms-GitHub opened 7 years ago

xgqfrms-GitHub commented 7 years ago

Mongoose to interact with a MongoDB

https://scotch.io/tutorials/build-a-restful-api-using-node-and-express-4

xgqfrms-GitHub commented 7 years ago

https://www.mongodb.com/download-center#community

https://www.mongodb.com/ https://github.com/mongodb

https://github.com/mongodb/node-mongodb-native

https://docs.mongodb.com/ https://docs.mongodb.com/manual/ https://docs.mongodb.com/manual/release-notes/3.4/ https://mongodb.github.io/node-mongodb-native/2.2/quick-start/

xgqfrms-GitHub commented 7 years ago

RESTful APIs

We are going to build an API that will:

Handle CRUD for an item (we're going to use bears) Have a standard URL (http://example.com/api/bears and http://example.com/api/bears/:bear_id) Use the proper HTTP verbs to make it RESTful (GET, POST, PUT, and DELETE) Return JSON data Log all requests to the console

https://scotch.io/bar-talk/designing-a-restful-web-api