Express.js Book - Express Web Application Development » Topic: Stateless REST APIs http://expressjs-book.com/forums/topic/stateless-rest-apis/feed/ Sat, 16 May 2015 19:58:39 +0000 http://bbpress.org/?v=2.5.4-5380 en-US http://expressjs-book.com/forums/topic/stateless-rest-apis/#post-56 <![CDATA[Stateless REST APIs]]> http://expressjs-book.com/forums/topic/stateless-rest-apis/#post-56 Tue, 23 Jul 2013 13:42:42 +0000 chriswakare Hi,
I found the book an excellent read as a start and noticed that some additional practices for production env. on the following would be great to have.

#. How do you create a “secured” stateless REST APIs using expressJS
While session management in Chapter 7 is a great read for web applications in general,we do see the need that same data services is required by mobile applications along with web applications.

Looking forward.

Thanks in advance,
Chris

]]>
http://expressjs-book.com/forums/topic/stateless-rest-apis/#post-57 <![CDATA[Reply To: Stateless REST APIs]]> http://expressjs-book.com/forums/topic/stateless-rest-apis/#post-57 Wed, 24 Jul 2013 12:13:13 +0000 Yaapa Hi Chris,

Check out Restify for a API-specific HTTP service module.

People use REST and RESTful in varying degrees of ‘RESTness’, I am not quite sure which degree you are coming from. Read this interesting article, “Your API is not RESTful“, to get the context.

Implementing a truly and wholly RESTful API in any platform is going to be a substantial effort. However, resourceful routing (Chapter 3, page 73) is very REST-like. You can secure it by the use of session or API token, depending on the nature of your client.

All the best!
Yaapa

]]>