What is REST?
Short answer: React is a JavaScript library for building user interfaces, mainly for single-page 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