Skip to content

Devansh-sys/QuickCart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🛒 QuickCart – Full Stack E-Commerce App

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.


🚀 Tech Stack

  • Frontend: React, Axios, JavaScript
  • Backend: Java 21, Spring Boot, Spring MVC, Spring Data JPA
  • Database: PostgreSQL
  • Build Tool: Maven

✨ Features

  • Product CRUD (Create, Read, Delete)
  • Image upload for products
  • Keyword-based product search
  • Add to Cart / Remove from Cart
  • RESTful API architecture
  • Clean frontend-backend integration with Axios

📁 Folder Structure

QuickCart/ ├── SpringEcom/ # Backend (Spring Boot) │ └── src/... ├── ecom-frontend-5-main/ # Frontend (React) │ └── src/... 🔧 How to Run 🔹 Backend (Spring Boot)

 cd SpringEcom 

./mvnw spring-boot:run Make sure PostgreSQL is running and your database credentials are set correctly in application.properties.

🔹 Frontend (React)

cd ecom-frontend-5-main
npm install
npm run dev  

Ensure the backend server is running before launching the frontend.

🌐 API Overview

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

🔄 Notes

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.

📸 Screenshots

🏠 Home Page

Home Page

Search By Keyword

Search By Keyword

Add new product

Add new product

Cart

Cart

Checkout

Checkout

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors