An open API service indexing awesome lists of open source software.

https://github.com/pasan1/spring-boot-3-with-spring-security-and-swagger-ui

Spring Boot 3 project with Spring Security and Swagger UI integrated (with OpenAPI 3)
https://github.com/pasan1/spring-boot-3-with-spring-security-and-swagger-ui

mysql openapi spring-boot spring-data-jpa spring-openapi spring-security spring-swagger springboot springboot3 swagger swagger-ui

Last synced: about 1 month ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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](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](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](LICENSE) file for details.

## Acknowledgments

- [Spring Boot](https://spring.io/projects/spring-boot)
- [Spring Security](https://spring.io/projects/spring-security)
- [Swagger UI](https://swagger.io/tools/swagger-ui/)
- [OpenAPI 3](https://swagger.io/specification/)
- [Spring Boot 3 with Spring Security](https://www.youtube.com/watch?v=KxqlJblhzfI)
- [Spring Boot 3 Swagger UI Integration](https://www.bezkoder.com/spring-boot-swagger-3/)

## Contact

- [Pasan Abeysekara](https://pasanabeysekara.com/)