Loading repository data…
Loading repository data…
Devansh-sys / repository
Built a full-stack eCommerce app using React and Java Spring Boot with PostgreSQL . Implemented product CRUD , image upload , search , and cart features via REST APIs. Used Spring MVC, JPA, and Axios for seamless frontend-backend integration.
A full-stack e-commerce web application built with React (frontend) and Java Spring Boot (backend). Features include product management, cart functionality, search, and image uploads, powered by PostgreSQL and REST APIs.
QuickCart/ ├── SpringEcom/ # Backend (Spring Boot) │ └── src/... ├── ecom-frontend-5-main/ # Frontend (React) │ └── src/... 🔧 How to Run 🔹 Backend (Spring Boot)
./mvnw spring-boot:run Make sure PostgreSQL is running and your database credentials are set correctly in application.properties.
🔹 Frontend (React)
Ensure the backend server is running before launching the frontend.
Endpoint Method Description /api/products GET Get all products /api/products POST Add new product /api/products/{id} DELETE Delete a product /api/search?query= GET Search products by name /api/cart POST Add item to cart /api/cart/{id} DELETE Remove item from cart /api/upload POST Upload product image
React app uses Axios to consume backend REST APIs.
CORS is configured to allow cross-origin requests from frontend to backend.
Ensure backend is up before interacting with the React app.