https://github.com/rmkanda/sample-api-service
Sample Spring API for testing
https://github.com/rmkanda/sample-api-service
sample security spring-boot vulnerable-app
Last synced: about 1 year ago
JSON representation
Sample Spring API for testing
- Host: GitHub
- URL: https://github.com/rmkanda/sample-api-service
- Owner: rmkanda
- Created: 2021-09-06T05:37:37.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2022-09-15T06:22:13.000Z (almost 4 years ago)
- Last Synced: 2025-04-02T02:22:15.285Z (over 1 year ago)
- Topics: sample, security, spring-boot, vulnerable-app
- Language: Java
- Homepage:
- Size: 81.1 KB
- Stars: 1
- Watchers: 1
- Forks: 29
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sample Application with REST API Endpoints
Sample api application to do CURD operations on users data
(Spring, Java 17, In Memory Database)
## Building the application
### Gradle
```
./gradlew build
java -jar build/libs/UserManager-0.0.1-SNAPSHOT.jar
```
### Maven
```
./mvnw package
java -jar target/UserManager-0.0.1-SNAPSHOT.jar
```
## API Endpoints
- GET http://localhost:8080/users
- POST http://localhost:8080/users
- GET http://localhost:8080/users/{id}
- PUT http://localhost:8080/users/{id}
- DELETE http://localhost:8080/users/{id}
## API Documentation
http://localhost:8080/swagger-ui/index.html
http://localhost:8080/v3/api-docs