Skip to content

Latest commit

 

History

History
99 lines (77 loc) · 1.87 KB

File metadata and controls

99 lines (77 loc) · 1.87 KB

Store Application

Overview

A Spring Boot based store application that provides functionality for users to register, login, and purchase products. The application includes both customer and admin functionalities with secure authentication and session management.

image

Features

  • User Authentication (Login/Register)
  • Role-based Access (Customer/Admin)
  • Product Management
  • Cart Functionality
  • Order Processing
  • Admin Dashboard
  • Session Management

Tech Stack

  • Backend

    • Java
    • Spring Boot
    • Spring MVC
    • Spring Security
    • Hibernate/JPA
  • Frontend

    • JSP
    • HTML
    • CSS
    • JavaScript
  • Database

    • MySQL

Setup Instructions

Prerequisites

  • JDK 11+
  • Maven 3.6+
  • MySQL 8.0+

Database Configuration

spring.datasource.url=jdbc:mysql://localhost:3306/store_db
spring.datasource.username=root
spring.datasource.password=root
spring.jpa.hibernate.ddl-auto=update

Running the Application

  1. Clone the repository
git clone https://github.com/hemanthsaich/StoreApplication.git
  1. Build the project
mvn clean install
  1. Run the application
mvn spring-boot:run
  1. Access the application at http://localhost:8080

Application Flow

User Authentication

  • Users can register with username and password
  • Role-based authentication (ADMIN/CUSTOMER)
  • Session management for logged-in users

Admin Features

  • Add/Edit/Delete products
  • View all products
  • Manage inventory

Customer Features

  • Browse products
  • Add to cart
  • Place orders
  • View order history

Security

  • Password encryption
  • Session management
  • Role-based access control
  • Form validation

Future Enhancements

  1. Payment integration
  2. Email notifications
  3. Product categories
  4. Order tracking
  5. User profile management