/Spring-Boot-3-with-spring-security-and-swagger-ui

Spring Boot 3 project with Spring Security and Swagger UI integrated (with OpenAPI 3)

Primary LanguageJavaMIT LicenseMIT

Spring Boot 3 Project with Spring Security and Swagger UI Integration

This project is a Spring Boot 3 web application that integrates Spring Security for authentication and authorization, and Swagger UI for API documentation using OpenAPI 3.

Prerequisites

  • Java 17 or higher
  • Maven 3 or higher

Getting Started

  1. Clone this repository.

    git clone https://github.com/pasan1/Spring-Boot-3-with-spring-security-and-swagger-ui.git
    
  2. Navigate to the project folder.

    cd spring-boot-security-swagger
    
  3. Build the project.

    mvn clean install
    
  4. Run the project.

    mvn spring-boot:run
    
  5. Access the Swagger UI at http://localhost:8088/swagger-ui/index.html.

Features

  • Spring Security for authentication and authorization.
  • Swagger UI for API documentation using OpenAPI 3.

Usage

  1. Run the application.
  2. Access the Swagger UI at http://localhost:8088/swagger-ui/index.html.
  3. Use the Swagger UI to test the API endpoints.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

Contact