Skip to content

Latest commit

Β 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ›’ EchoCart – Full-Stack E-Commerce Platform

πŸš€ EchoCart is a production-ready full-stack e-commerce web application designed and deployed on AWS Cloud. The project demonstrates real-world backend architecture, cloud deployment, REST APIs, and frontend-backend integration.

βœ… Frontend + Backend + Database β€” all hosted on AWS

🌐 Live Project Links (AWS Deployed)

πŸ”— GitHub Repository: link

🌐 Frontend (AWS S3 Static Website): link

πŸ”— Backend Base API (AWS EC2): link

πŸ”— Health Check API: link

✨ Key Features

πŸ‘€ User Management

  • User registration & login
  • Role-based access control (Admin / Customer)

πŸ“¦ Product Management

  • Product CRUD operations
  • Dynamic product listing

πŸ›’ Cart System

  • Add / remove items
  • Real-time cart updates

πŸ“‘ Order Management

  • Place orders
  • Order summary & tracking

πŸ’³ Payment Module

  • Payment processing simulation
  • Order payment status tracking

πŸ§‘β€πŸ’Ό Admin Panel

  • Manage users
  • Manage products & orders

🧱 Tech Stack

πŸ”™ Backend

Java Β Β  Spring Boot Β Β  MySQL Β Β  JPA / Hibernate

🎨 Frontend

HTML5 Β Β  CSS3 Β Β  JavaScript Β Β  Bootstrap

☁️ Cloud & DevOps

πŸ›  Tools & Architecture

Git Β  GitHub Β  Postman Β 

πŸ“‚ Project Structure

EchoCart
β”‚
β”œβ”€β”€ E-Commerce Backend/
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ main/
β”‚   β”‚   β”‚   β”œβ”€β”€ java/
β”‚   β”‚   β”‚   β”‚   └── com/echocart/backend/
β”‚   β”‚   β”‚   β”‚       β”œβ”€β”€ config/
β”‚   β”‚   β”‚   β”‚       β”œβ”€β”€ controller/
β”‚   β”‚   β”‚   β”‚       β”œβ”€β”€ entity/
β”‚   β”‚   β”‚   β”‚       β”œβ”€β”€ repository/
β”‚   β”‚   β”‚   β”‚       β”œβ”€β”€ service/
β”‚   β”‚   β”‚   β”‚       └── EchoCart.java
β”‚   β”‚   β”‚   └── resources/
β”‚   β”‚   β”‚       β”œβ”€β”€ application.properties
β”‚   β”‚   β”‚       β”œβ”€β”€ application-prod.properties
β”‚   β”‚   β”‚       └── application-local.properties
β”‚   β”‚   └── test/
β”‚   β”œβ”€β”€ Dockerfile
β”‚   └── pom.xml
β”‚
β”œβ”€β”€ E-Commerce Frontend/
β”‚   β”œβ”€β”€ assets/
β”‚   β”‚   β”œβ”€β”€ icons/
β”‚   β”‚   └── images/
β”‚   β”œβ”€β”€ js/
β”‚   β”‚   β”œβ”€β”€ admin.js
β”‚   β”‚   β”œβ”€β”€ cart.js
β”‚   β”‚   β”œβ”€β”€ config.js
β”‚   β”‚   β”œβ”€β”€ customer.js
β”‚   β”‚   β”œβ”€β”€ main.js
β”‚   β”‚   β”œβ”€β”€ order-summary.js
β”‚   β”‚   └── product.js
β”‚   β”œβ”€β”€ vendor/bootstrap/
β”‚   β”œβ”€β”€ admin.html
β”‚   β”œβ”€β”€ customer.html
β”‚   β”œβ”€β”€ index.html
β”‚   β”œβ”€β”€ order-summary.html
β”‚   β”œβ”€β”€ style.css
β”‚   └── vercel.json
β”‚
β”œβ”€β”€ LICENSE
└── README.md

πŸ—οΈ Deployment Architecture (AWS)

User Browser
     |
     |----> AWS S3 (Frontend - Static Website)
     |
     |----> AWS EC2 (Spring Boot Backend - Dockerized)
     |
     |----> AWS RDS (MySQL Database)
  • βœ” CORS enabled
  • βœ” Production-ready configuration
  • βœ” Dockerized backend

πŸ”— API Modules

Module Description
πŸ‘€ User User registration, login, roles
πŸ“¦ Product Product CRUD operations
πŸ›’ Cart Cart management
πŸ“‘ Order Order placement & tracking
πŸ’³ Payment Payment processing

▢️ How to Run the Project

🌐 Live Deployment

Frontend: Live Website
Backend API: http://13.51.13.143:8080/api

πŸ›  Local Development

Backend Setup

cd "E-Commerce Backend"
mvn clean install
mvn spring-boot:run

Frontend Setup

cd "E-Commerce Frontend"
# Simply open index.html in browser
# Or use live server

πŸš€ AWS Deployment

Backend (AWS EC2 + Docker)

# Clone repository
git clone https://github.com/mr-piyushkr/EchoCart.git
cd EchoCart/"E-Commerce Backend"
# Build and run with Docker
sudo docker build -t echocart-backend .
sudo docker run -d -p 8080:8080 echocart-backend

Frontend (AWS S3)

  • Static website hosting on AWS S3
  • Manual upload or automated deployment

Database (AWS RDS MySQL)

  • Production database hosted on AWS RDS
  • Configured for high availability

πŸ§ͺ Testing

  • API tested using Postman
  • Backend includes JUnit test cases

πŸ“Έ Screens & UI

  • βœ” Clean UI for customers
  • βœ” Separate admin dashboard
  • βœ” Responsive design
  • βœ” Live Demo Available - Try it now!

πŸŽ† Deployment Architecture

  • Frontend: Deployed on AWS S3 Static Website Hosting
  • Backend: Containerized with Docker and deployed on AWS EC2
  • Database: AWS RDS MySQL for production data
  • API: RESTful services with CORS enabled for cross-origin requests

🎯 Future Enhancements

  • πŸ” JWT Authentication
  • πŸ’° Real payment gateway integration
  • πŸ“Š Admin analytics dashboard
  • πŸ“± Full mobile responsiveness
  • ☁️ Deployment on AWS Cloud βœ… COMPLETED
  • πŸ”„ CI/CD Pipeline with GitHub Actions
  • πŸ” Advanced search and filtering
  • πŸ“§ Email notifications for orders

🀝 Contribution

Contributions, issues, and feature requests are welcome!

Feel free to fork this repo and submit a PR.

⭐ Show Your Support

If you like this project, give it a ⭐ on GitHub β€” it really helps!

πŸ“„ License

This project is licensed under the MIT License.

πŸ‘¨β€πŸ’» Author

Piyush Kumar

πŸš€Full Stack Developer (Spring Boot & AWS)

πŸ“¬ Let's Connect

🌐 Portfolio Β β€’Β  πŸ’» GitHub Β β€’Β  πŸ’Ό LinkedIn Β β€’Β  πŸ“§ Email

About

πŸ›’ EchoCart is a production-ready full-stack e-commerce application built with Spring Boot, featuring authentication, product, cart, orders & payments, deployed on AWS using EC2 (backend), S3 (frontend) and RDS (MySQL) πŸš€β˜οΈ

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages