Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Create simple api using node js

817 views

Published on

Create simpele api using express and mongoskin.

Published in: Technology, Education
  • Be the first to comment

  • Be the first to like this

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

×