What is REST?
Short answer: REST (Representational State Transfer) is an architectural style for designing networked applications.
Explain a bit more
It uses standard HTTP methods to perform CRUD operations on resources, which are typically represented as URLs. β A RESTful API allows different systems (like frontend apps or mobile apps) to interact with your server over HTTP in a stateless manner. π Example: GET /users β Get all users POST /users β Create a new user PUT /users/1 β Update user with ID 1 DELETE /users/1 β Delete user with ID 1
Real-world example (ShopNest)
A ShopNest BFF in Node.js aggregates catalog and price APIs for the React storefront.
Say this in the interview
- Define β one clear sentence (the short answer above).
- Example β relate it to a project like ShopNest or your real work.
- Trade-off β when you would not use it.
Share this Q&A
Share preview image: https://www.toolliyo.com/images/toolliyo-logo.png