Code Samples for API design with Node JS class - Kiyv, May 16, 2015
We used latest version of iojs (2.0.2) for our class.
- Tests:
npm test
ornpm run watch
- Realtime streaming
cd messenger
and thennode server.js
- Haters gonna HATEOAS
- Four Levels of REST
- Best Practices for Designing a Pragmatic RESTful API
- jsonapi.org and Building Ambitious APIs with Ruby
- Using secure client-side sessions to build simple and scalable Node.JS applications (see also https://github.com/mozilla/node-client-sessions#cryptography)
- JSON Web Token Spec Draft
- Cookies vs. Tokens and 10 Things You Should Know about Tokens
- WebSocket Security
- Token-based Authentication with Socket.IO
- HTTP Hawk Authentication Scheme
- The Way of Node
- Node Aesthetics
- Style Guide
- Re: @brixen’s “Is Node Better”
- Unix Philosophy and Node.js
- Restart Node.js servers on domain errors: Sensible FUD
- Node.js Production Practices
- PM2
- Control V8 Garbage Collection
- Monitoring Node Applications:
- Free Development Pipeline:
- 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
- Your own PaaS