Rest Services and Express JS
Introduction
REST defines REpresentational State Transfer protocol. Nouns vs actions. REST services are not action based though HTTP verbs being used to perform different operations on the same resource. Resource are identified by a URI. Multiple URIs may refer the same resource. JSON or XML is used to pass data.
HTTP Verbs
HTTP Status Codes
Architectural constraints of REST services
- Client-server architecture
- Statelessness
- Cacheability
- Layered system
- Code on demand
- Uniform interface
What is Express JS
Express JS is a Node JS based web application framework. Express.js was founded by TJ Holowaychuk. Express provides a thin layer of fundamental web application features. Express is a minimal and flexible Node.js web application framework that provides a robust set of features for web and mobile applications.


Comments
Post a Comment