Spring resource service using spring-boot-starter-oauth2-resource-server library.
This project use as authentication server the project https://github.com/abisai7/spring-authserver.git, you can use it as authentication service cloning and executing before executing this project.
- Java Development Kit (JDK) 17 or higher
- Gradle
- Clone the repository:
git clone https://github.com/abisai7/spring-resourceserver.git
- Navigate to the project directory:
cd spring-resourceserver
- Run the application:Use Gradle Wrapper (gradlew) to compile and run the project:
./gradlew bootRun
This will start the Spring Boot application. Once you see a message in the console indicating that the application has started successfully, you can access test making a request to endpoints defined in controllers.