Skip to content

dimb/node-api-design-kyiv-may-2015

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 Cannot retrieve latest commit at this time.

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API Design with Node.js

Code Samples for API design with Node JS class - Kiyv, May 16, 2015

Running the Examples

We used latest version of iojs (2.0.2) for our class.

  1. Tests: npm test or npm run watch
  2. Realtime streaming cd messenger and then node server.js

Further reading

REST

  1. Haters gonna HATEOAS
  2. Four Levels of REST
  3. Best Practices for Designing a Pragmatic RESTful API
  4. jsonapi.org and Building Ambitious APIs with Ruby

Backend-as-a-Service

  1. Parse and Firebase
  2. LoopBack
  3. DeployD
  4. NoBackend

Streaming API

  1. Harnessing The Awesome Power Of Streams
  2. Stream Handbook
  3. Stream Adventure

Authorization and Authentication

  1. Using secure client-side sessions to build simple and scalable Node.JS applications (see also https://github.com/mozilla/node-client-sessions#cryptography)
  2. JSON Web Token Spec Draft
  3. Cookies vs. Tokens and 10 Things You Should Know about Tokens
  4. WebSocket Security
  5. Token-based Authentication with Socket.IO
  6. HTTP Hawk Authentication Scheme

Node Aesthetics

  1. The Way of Node
  2. Node Aesthetics
  3. Style Guide
  4. Re: @brixen’s “Is Node Better”
  5. Unix Philosophy and Node.js

Running Node in Production

  1. Restart Node.js servers on domain errors: Sensible FUD
  2. Node.js Production Practices
  3. PM2
  4. Control V8 Garbage Collection
  5. Monitoring Node Applications:

Where to run Node?

  1. Free Development Pipeline:
  2. Paid alternatives:
    • Modulus Node + Mongo + Buil-in Performance Stats
    • Circle CI - unlimited builds/users/repos free. Requires Github ($7)
    • Nodejitsu NPM - 10 private packages $25
    • DigitalOcean
    • Joyent Manta & SmartOS
  3. Your own PaaS

About

Code Samples for API design with Node JS class - Kiyv, May 2015

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 89.9%
  • HTML 10.1%