Skip to content

Jarin0026/shopsphere-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ShopSphere – Backend (Spring Boot)

Frontend (React) → REST API → Spring Boot → MySQL Database

This is the backend service for ShopSphere – a full-stack E-Commerce Platform.
It is built using Spring Boot and follows a layered architecture (Controller → Service → Repository).

The backend manages authentication, product management, cart & wishlist logic, order processing, role-based access control, and secure payment verification.


🚀 Features

🔐 Authentication & Security

  • JWT-based authentication
  • Role-based authorization (Customer / Vendor / Admin)
  • Password encryption using BCrypt
  • Secure REST APIs using Spring Security
  • Protected endpoints based on user roles

🛍 Product Management

  • Add, update, delete products
  • Upload product details (price, stock, category, description)
  • View all products with pagination
  • Search and filter products
  • Manage product inventory

🛒 Cart & Wishlist System

  • Add to cart
  • Update cart quantity
  • Remove from cart
  • Add / Remove from wishlist
  • Persistent cart linked to user account

📦 Order Management

  • Place orders
  • Order status tracking (Pending / Confirmed / Shipped / Delivered)
  • Order history per customer
  • Vendor order tracking
  • Automatic stock reduction after purchase

💳 Payment Integration

  • Razorpay payment verification
  • Secure transaction validation
  • Order confirmation after successful payment

🏪 Vendor Management

  • Vendors can manage their own products
  • View sales reports
  • Track product performance

🛠 Admin Controls

  • Manage users (Customer / Vendor)
  • Manage products
  • Monitor orders
  • Platform-level control over listings

🧠 Backend Responsibilities

  • Handles complete business logic
  • Validates product & order rules
  • Manages users & role-based access
  • Secures APIs using JWT
  • Processes and verifies payments
  • Connects to MySQL database
  • Global exception handling
  • Data validation & error responses

🧑🏽‍💻 Tech Stack

  • Java 17
  • Spring Boot
  • Spring Security
  • JWT Authentication
  • MySQL
  • Maven
  • Razorpay Integration
  • Render (Deployment)

📦 Frontend Repository

Frontend Repository

About

Spring Boot-based backend for ShopSphere, a full-stack E-Commerce platform. Handles authentication, product management, cart & wishlist, order processing, and payment verification. Built with layered architecture (Controller → Service → Repository) and integrated with MySQL using secure REST APIs, JWT authentication, and role-based access control.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors