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)
- Host: GitHub
- URL: https://github.com/pasan1/spring-boot-3-with-spring-security-and-swagger-ui
- Owner: pasan1
- License: mit
- Created: 2023-04-29T19:37:59.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-06-27T17:44:01.000Z (almost 2 years ago)
- Last Synced: 2025-04-30T13:27:39.578Z (about 1 month ago)
- Topics: mysql, openapi, spring-boot, spring-data-jpa, spring-openapi, spring-security, spring-swagger, springboot, springboot3, swagger, swagger-ui
- Language: Java
- Homepage:
- Size: 78.1 KB
- Stars: 10
- Watchers: 1
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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/)