A full-stack web application for browsing products, filtering by category, and viewing details. Built with a React.js frontend and a Spring Boot backend, connected via REST APIs and backed by a MySQL database.
``` productcatalog/ ├── frontend/ # React.js application (UI) ├── backend/ # Spring Boot application (API) ```
- 🔍 Product listing with image, name, price, and description
- 🧩 Filter products by category
- 📦 Search functionality by keyword
- 📱 Responsive UI for desktop and mobile
- 🔗 REST API integration between frontend and backend
Layer | Technologies |
---|---|
Frontend | React.js, Vite, Bootstrap, Axios |
Backend | Spring Boot, Spring Data JPA, REST |
Database | MySQL |
Tools | IntelliJ IDEA, VS Code, Git, GitHub |
- Node.js & npm
- Java 17+
- Maven
- MySQL
```bash cd backend
mvn clean install mvn spring-boot:run ```
Runs at:
🔗 `http://localhost:8080\`
```bash cd frontend npm install npm run dev ```
Runs at:
🔗 `http://localhost:5173\`
Method | Endpoint | Description |
---|---|---|
GET | /api/products | Get all products |
GET | /api/products/category/{id} | Get products by category ID |
GET | /api/categories | Get all categories |
Bharani Kumar
GitHub
This project is open-source and free to use.