alpha74 / MiniBlog_SpringBoot

MiniBlog implementation using Spring Boot. Backend APIs only.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MiniBlog Backend APIs

Spring Boot with REST

Notes

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"}

About

MiniBlog implementation using Spring Boot. Backend APIs only.


Languages

Language:Java 100.0%