Skip to content

Online Grocery Store is an e-commerce web application based on the Spring Framework and Spring Security. Users can create accounts, add items to their cart, proceed to payment, purchase items, and finally generate bill for their order. Don't just fork it 👀 Star it ⭐

Notifications You must be signed in to change notification settings

Praveen-nischal4/OnlineGroceryStore-Application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

GROCERY STORE Web Application

➡️ Grocery Store is a web application built using the Spring Framework and MySQL database. It is designed to provide a realistic e-commerce experience for purchasing fruits, vegetables, drinks, and more. The application includes a comprehensive cart and billing module, simulating the entire shopping process from selection to checkout. Additionally, users can download their bill as a PDF, adding to the convenience and realism of the shopping experience. To ensure security, the application utilizes Spring Security for authentication and authorization.

Login Menu
myimage myimage
mybill myimage

Features of Grocery Store

User Authentication and Authorization

  • Secure login and registration module is written uisng spring security considering authorities as Admin User

Menu

  • A variety of items including vegetables, fruits, and drinks are listed with their prices.

Shopping Cart

  • Add to Cart: Users can add products to their shopping cart.
  • Update Cart: Modify quantities or remove items from the cart.
  • Cart Summary: Display a summary of items in the cart with total price.

Discount Coupons

  • Apply Coupons: Enter coupon codes to receive discounts on orders.
  • Coupon Validation: Validate coupon codes and apply discounts.

Checkout and Payment

  • Manual Payment Confirmation: Click to confirm payment without actual payment gateway integration (dummy implementation).
  • Order Generation: After payment confirmation, an order is generated and a unique order ID is provided.

Billing and Invoicing

  • Invoice Generation: Generate and download invoices as PDFs.

Admin Panel

  • Product Management: Add, edit, and delete products (Menu items) including vegetables, fruits, and drinks.

Installation

  • Download the Code

    • Download the project code and unzip it.
  • Install an IDE

  • Import the Project into IDE

    • Open your chosen IDE.
    • Import the unzipped project into the IDE.
  • Update Maven

    • In the IDE, perform a Maven update to ensure all dependencies are correctly configured.
  • Create the Database

    • Set up a database using either Workbench or MySQL Server.
    • Follow the schema instructions provided in the Schema section of this document to configure the database.
  • Run the Project

    • Deploy and run the project on your local server.

Technology Used

Frontend Backend Databse
Html, css, Boostrap, jsp Spring-framework, JDBC template, Spring-Security, Spring-MVC Mysql

Database Schema

Billing Details :

mybill

API Endpoints

General Endpoints

End Points Links
Login Page /Myapplication-Default/myLoginPage
Home Page /Myapplication-Default/
Menu /Myapplication-Default/Menu
Add Item to Cart /Myapplication-Default/addToCart/7
View Cart /Myapplication-Default/myCart
Checkout /Myapplication-Default/checkout
Payment Confirmation /Myapplication-Default/paymentConfirmation
Order Details /Myapplication-Default/orderdItems
View Bill /Myapplication-Default/billing?order_id=Gro7652

Admin Endpoints for Item Management

End Points Links
Create Menu /Myapplication-Default/createMenu
Add Item /Myapplication-Default/addItems
Edit Item /Myapplication-Default/editItems/1
Delete Item /Myapplication-Default/deleteItems/32

More ScreenShots

ADMIN-HOME

myimage

USER-HOME

myimage

ADD-ITEM

myimage

MENU - UserEnd

myimage

CART -Shots

ADMIN-HOME

myimage

myimage

PAYMENT-CONFIRMATION

myimage

ORDERS

myimage

BILLING

myimage

About

Online Grocery Store is an e-commerce web application based on the Spring Framework and Spring Security. Users can create accounts, add items to their cart, proceed to payment, purchase items, and finally generate bill for their order. Don't just fork it 👀 Star it ⭐

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages