Node at Apiary.io

4,481 views
4,226 views

Published on

Node.js usage at Apiary.io - slides from JS meetup in Node5 in Prague.

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

No Downloads
Views
Total views
4,481
On SlideShare
0
From Embeds
0
Number of Embeds
19
Actions
Shares
0
Downloads
10
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Node at Apiary.io

  1. 1. & NODE.JSJakub Nešetřil apiary.io
  2. 2. REST apiary.io http://www.flickr.com/photos/pagedooley/4310765089/
  3. 3. API apiary.io http://www.flickr.com/photos/emrank/4088047582/
  4. 4. REST API apiary.io
  5. 5. REST API Documentation apiary.io
  6. 6. apiary.io
  7. 7. apiary.io
  8. 8. apiary.io
  9. 9. hledáme k sobě další … apiary.io
  10. 10. BEHIND THE SCENES• MVC web app• API Blueprint (Markdown++)• HTTP Proxy• HTTP Diffs• JSON Schema• wildcard DNS apiary.io
  11. 11. STACK OVERVIEW• Express, Eco, Stylus• MongoDB + Mongoose, Redis + HiRedis, Socket.IO• Ace, Markdown, Amanda, Node-Http-Proxy• Mocha, Chai, Zombie apiary.io
  12. 12. async hiredissocket.io stylus coffee-script mongoose http-proxy apiary.io
  13. 13. nodemailer robotskirt async step googlediff hiredis oauthsocket.io amanda styluschai connect eco mongoose-dbref express coffee-script moment send request mongoose redis nib raven gzippo connect-mongodb mailchimp http-proxy apiary.io
  14. 14. nodemailer node-inspector robotskirt async stepmocha googlediff hiredis sinon-mocha sinon supervisor oauthsocket.io docco amanda stylus chai connect eco mongoose-dbref express coffee-script temp moment send request zombie mongoose redis nib raven gzippo connect-mongodb mailchimp http-proxy apiary.io
  15. 15. nodemailer node-inspector robotskirt async stepmocha googlediff hiredis sinon-mocha sinon supervisor oauthsocket.io docco amanda stylus chai connect eco mongoose-dbref express coffee-script temp moment send request zombie mongoose redis nib raven gzippo connect-mongodb mailchimp http-proxy apiary.io
  16. 16. The Good apiary.io http://www.flickr.com/photos/rufo_83/403475732/
  17. 17. THE GOOD• low level access - to http, to tcp, to the socket• whole app ~6k SLOC, ~10k SLOC including tests• apiary.io
  18. 18. The Bad apiary.io http://www.flickr.com/photos/rufo_83/403475732/
  19. 19. THE BAD• debugging async errors / race conditions• long stack traces• wrong return value vs. no callback apiary.io
  20. 20. The Ugly apiary.io http://www.flickr.com/photos/rufo_83/403475732/
  21. 21. QUESTIONS?E-MAIL jakub@apiary.io TWITTER @jakubnesetril apiary.io

×