Skip to content

E-commerce is a comprehensive e-commerce platform designed to provide a seamless online shopping experience. The platform includes user authentication, product management, a shopping cart, order management, and payment integration using Stripe. Built with Java, Spring Boot, and PostgreSQL, it leverages Docker and Docker Compose for containerization

Notifications You must be signed in to change notification settings

nihadamirov/e-commerce-platform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

E-commerce Platform

Euphoria E-commerce is a comprehensive e-commerce platform designed to provide a seamless online shopping experience. The platform includes user authentication, product management, a shopping cart, order management, and payment integration using Stripe. Built with Java, Spring Boot, and PostgreSQL, it leverages Docker and Docker Compose for containerization.

Table of Contents

  1. Features
  2. Installation
  3. Configuration
  4. Usage
  5. Testing

Features

  • Product Management: CRUD operations for products, including attributes like name, size, color, category, and pricing. Multi-currency support and price management over time.
  • User Management: User registration with email verification, secure authentication with JWT, and password recovery.
  • Shopping Cart: Manage product selection and quantities, with the ability to add or remove items.
  • Order Management: Full lifecycle management including order creation, tracking, and history.
  • Payment Integration: Integrated with Stripe for handling payments.

Installation

Prerequisites

  • Java 17 or later
  • Maven 3.6 or later
  • Docker
  • Docker Compose

Steps

  1. Clone the repository:

    git clone https://github.com/nihadamirov/Euphoria_Ecommerce.git
  2. Navigate to the project directory:

    cd Euphoria_Ecommerce
  3. Build the project using Maven:

    mvn clean install
  4. Start the application using Docker Compose:

    docker-compose up

Configuration

Update the application.properties file with your database and Stripe credentials:

spring.datasource.url=jdbc:postgresql://localhost:5432/euphoria
spring.datasource.username=your_db_username
spring.datasource.password=your_db_password

stripe.api.key=your_stripe_secret_key
jwt.SECRET_KEY=your_secret_key

Usage

  1. Open your browser and navigate to http://localhost:8080 to access the application.
  2. Register a new user and verify the email.
  3. Log in and start exploring the product catalog.
  4. Add products to your cart and proceed to checkout to complete a purchase.

Testing

Run unit and integration tests using Maven:

mvn test

For more detailed test coverage and results, check the target/site directory.

About

E-commerce is a comprehensive e-commerce platform designed to provide a seamless online shopping experience. The platform includes user authentication, product management, a shopping cart, order management, and payment integration using Stripe. Built with Java, Spring Boot, and PostgreSQL, it leverages Docker and Docker Compose for containerization

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •