https://github.com/alpha74/miniblog_springboot
MiniBlog implementation using Spring Boot. Backend APIs only.
https://github.com/alpha74/miniblog_springboot
java rest-api spring spring-boot
Last synced: about 2 months ago
JSON representation
MiniBlog implementation using Spring Boot. Backend APIs only.
- Host: GitHub
- URL: https://github.com/alpha74/miniblog_springboot
- Owner: alpha74
- Created: 2022-08-06T07:30:35.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-08-24T10:54:51.000Z (almost 4 years ago)
- Last Synced: 2025-01-16T04:41:26.789Z (over 1 year ago)
- Topics: java, rest-api, spring, spring-boot
- Language: Java
- Homepage:
- Size: 90.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MiniBlog Backend APIs
## Spring Boot with REST
#### [Notes](NOTES.md)
### APIs
#### GET /healthStatus
- Health Check API
- Returns String response: `status:OK`
#### GET /healthStatusBean
- Health Check API
- Returns JSON response:
```
{"status":"OK"}
```
#### GET /users
- Returns all users.
- Returns JSON response:
```
[
{"id":1,"name":"Jackson","birthDate":"2022-08-05T18:19:27.767+00:00"},
{"id":2,"name":"Johnson","birthDate":"2022-08-05T18:19:27.767+00:00"},
{"id":3,"name":"McDonald","birthDate":"2022-08-05T18:19:27.767+00:00"}]
```
#### GET /users/{id}
- Returns data of single users, else null.
- Returns JSON response:
```
{"id":1,"name":"Jackson","birthDate":"2022-08-06T07:42:11.033+00:00"}
```