Features
- 🛍️ Browse products in a responsive grid layout
- 🔍 Search products by name
- ✏️ Edit product details (name, description, price)
- 🗑️ Delete products
- ➕ Admin portal for adding new products
- 💾 JSON Server backend for data persistence
Installation
- Clone the repository
- Install dependencies -
npm install - Install required packages -
npm install react-router-dom / npm install -D json-server
Running the application
- Start the JSON server -
npx json-server --watch db.json --port 3001 - Start the React application -
npm run dev