Building a REST API with Node.js and MongoDB

1,092
-1

Published on

Get the code at:
github.com/0xfede/lunch-o-clock

A quick introduction to MongoDB and Node.js and a sample application on how to use a rest API

by Federico Pinna
at Vivocha Tech Evenings 2014

Published in: Software, Technology, Business
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,092
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
21
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Building a REST API with Node.js and MongoDB

  1. 1. Building a REST API with Node.js and MongoDB Federico Pinna @0xfede
  2. 2. Agenda • MongoDB intro • 2-minute installation • Basic operations • Geospatial queries • 4-minute replication • Node.js intro • NPM and package.json • Express.js intro • Connecting to MongoDB • Basic REST API
  3. 3. MongoDB • NoSQL • Highly Available • Scalable • Stable • Fast • Sharding & Replication • Aggregation • Geospatial Queries • GridFS • Pub/Sub
  4. 4. MongoDB • try.mongodb.org
  5. 5. MongoDB Ok, it’s play time :-)
  6. 6. Node.js • Server side Javascript • Google V8 • Event driven • Non-blocking I/O • Scalable & Stable • Modular • Big Community • Made of Awesome
  7. 7. Node.js • nodejs.org • npmjs.org • socket.io • expressjs.com • passportjs.org • underscorejs.com • github.com/caolan/async • github.com/mikeal/request My all time favourites :-)
  8. 8. Node.js And it’s play time again :-) ! github.com/0xfede/lunch-o-clock
  9. 9. Q & A & Beer http://facebook.com/VivochaLabs
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×