Skip to content

A Spring Boot–based E-Commerce application developed while learning backend development from Faisal Memon. The project covers REST APIs, product management, pagination, sorting, and database integration using JPA & Hibernate πŸ”₯

License

Notifications You must be signed in to change notification settings

BlockNotes-4515/SPRING-BOOT-COURSE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

44 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

SPRING-BOOT-COURSE

SPRING-BOOT-COURSE
Building Product Add Functionality For Seller ASE/AASE/SWE/TL/PL

Project Logo

JAVA FULLSTACK DEVELOPMENT PROJECTS

πŸ† SPRINGBOOT COURSE DEV-SWE

license share


πŸ“Œ Project Overview

This project is built using Spring Boot 3.2.5 as part of Java Full Stack Development training.
It demonstrates backend development concepts including REST APIs, authentication, security configuration, and Swagger API documentation.


πŸ“¦ Dependency Management

All project dependencies are managed using Maven.

If you need to add or update any dependency (for example, while converting a normal Java project to a Spring Boot project), please use the official Maven Repository:

πŸ”— https://mvnrepository.com/


πŸ“˜ API Documentation – Swagger UI

This project integrates OpenAPI 3 documentation using Springdoc for interactive API exploration and testing.


πŸ”Ž Accessing Swagger UI

After successfully running the application, access Swagger UI at:

http://localhost:8080/swagger-ui/index.html#/

If running on a different port:

http://localhost:{PORT}/swagger-ui/index.html#/

πŸ“„ OpenAPI JSON Specification

Raw API documentation:

http://localhost:8080/v3/api-docs

βš™οΈ Prerequisites

  • Java 17 or higher
  • Maven installed
  • Spring Boot Version: 3.2.5

🧩 Swagger Dependency Used

<dependency>
    <groupId>org.springdoc</groupId>
    <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
    <version>2.5.0</version>
</dependency>

πŸš€ Running the Application

Using Maven:

mvn clean install
mvn spring-boot:run

Or using the generated JAR file:

java -jar target/your-jar-file-name.jar

πŸ” Security Configuration

The following endpoints are publicly accessible:

  • /v3/api-docs/**
  • /swagger-ui/**

All other APIs require authentication unless explicitly permitted in the security configuration.


πŸ›  Troubleshooting

If Swagger UI does not open:

  • Ensure the application is running successfully
  • Verify the correct port number
  • Confirm the Springdoc dependency is included
  • Remove any deprecated Springfox dependency
  • Run mvn clean install before starting

πŸ— Tech Stack

  • Java 17
  • Spring Boot 3.2.5
  • Spring Security
  • Maven
  • OpenAPI (Springdoc)
  • H2 / MySQL (based on configuration)

πŸ“‚ Project Structure (Sample)

src/
 β”œβ”€β”€ main/
 β”‚    β”œβ”€β”€ java/
 β”‚    β”‚    └── com.ecommerce.project
 β”‚    β”œβ”€β”€ resources/
 β”‚    β”‚    β”œβ”€β”€ application.properties
 β”‚    β”‚    └── static/
 β”‚    └── test/

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

Developed as part of Java Full Stack Development learning and backend engineering practice.


centered GIF

About

A Spring Boot–based E-Commerce application developed while learning backend development from Faisal Memon. The project covers REST APIs, product management, pagination, sorting, and database integration using JPA & Hibernate πŸ”₯

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages