Skip to content

Online Shopping Application allows customers to browse and purchase products with a good user-friendly interface.

Notifications You must be signed in to change notification settings

im-vishalanand/Online-Shopping-Application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 

Repository files navigation

Online-Shopping-Application

1

REST A.P.I

Online Shopping Application allows customers to browse and purchase products with a good user-friendly interface. The API is designed to provide a wide range of functionalities for managing products, orders, and customer along with different functionalities of admin and its information.

The API offers features for browsing products, including the ability to save items to a cart for future purchase.It also supports CRUD operations for managing products and orders. This application will help Customer to buy the products and view order details. Customer can register themselves and login. Add product to the cart and purchase it . This application will help Admin to search Product list ,add new products ,remove products and update product .

The application also includes user and admin validation and authentication.

Tech Stack

  • JAVA
  • SPRING
  • SPRINGBOOT
  • HIBERNATE
  • MAVEN
  • J.D.B.C
  • MYSQL
  • JPQL
  • POSTMAN

Dependencies

  • SPRING DATA JPA
  • SPRING BOOT DEVTOOLS
  • SPRING WEB
  • HIBERNATE
  • MYSQL DRIVER
  • VALIDATION
  • LOMBOK
  • SWAGGER UI

Setting & Installation

Install the Spring Tools Suite

https://spring.io/tools

Install MySQL Community Server

https://dev.mysql.com/downloads/mysql/

Clone the Repository

git clone https://github.com/Im-vishalanand/adhesive-cactus-7535.git

Open MySQL Server

Create a New Database in SQL: "online_shopping_application" 

Run Locally

Go to the Project Directory

Open the Online_Shopping_System Folder with S.T.S

Go to src/main/resources > application.properties & change your username and password (MySQL server username & password)

spring.datasource.username="username"
spring.datasource.password="password"

To change the Server Port

server.port=8888

Go to com.masai package > OnlineShoppingApplication.java

Run as Spring Boot App

Open the following URL for Swagger-UI

http://localhost:8888/swagger-ui/

ER Diagram

Untitled (6)

Demo

URL

http://localhost:8888

Admin API Reference

image

Login & Logout API Reference

image

User API Reference

image

Customer API Reference

image

Product API Reference

image

Address API Reference

image

Cart API Reference

image

Order API Reference

image

Contributors

Kumar Vishal Anand

Github: Im-vishalanand (Teamlead)

=> created the controller of order, product and user.

=> Implemented the service methods order, product and user.

Md Humair Raza

Github: mdhumairraza

=> Created controller of Customer , admin, cart, address, login and logout.

=> Implemented the service methods of Customer , admin, cart, address, login and logout.

Vivek Sangode

Github: vivekSangode Worked on Exceptional Handling and Respositories

Acknowledgements

Releases

No releases published

Packages

No packages published

Languages