Create simple api using node js

529 views
425 views

Published on

Create simpele api using express and mongoskin.

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

  • Be the first to like this

No Downloads
Views
Total views
529
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
9
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Create simple api using node js

  1. 1. Create Simple API Using NodeJS Techtalk #32
  2. 2. Node.js is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event- driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices. - nodejs.org
  3. 3. Success Story
  4. 4. Half the time with fewer developers to Built a Node Version of a Java app https://www.paypal-engineering.com/2013/11/22/node-js-at-paypal/
  5. 5. Easly serving 50,000 request/minute Handling the same amount of traffic as before but with less hardware http://slideshare.net/joemccann/the-business-case-for-node
  6. 6. Application Stack RESTful API ExpressJS Controller Mongoskin MongoDB Key-Value Handler Memory caching
  7. 7. Download http://nodejs.org/download/
  8. 8. package.json
  9. 9. Struktur Folder
  10. 10. app.js
  11. 11. Route HTTP Verb Desc /api/takjil GET Get all takjil /api/takjil POST Create takjil /api/takjil/:id GET Get single takjil /api/takjil/:id PUT Update a takjil info /api/takjil/:id DELETE Delete a takjil Routes
  12. 12. https://github.com/drieanto/nodejs-api

×