Full-Stack Social App with Spring boot and React
Client: React, Chakra UI
Server: Java, Spring boot, PostgreSQL
After running the Web API, you can make HTTP requests like:
https://localhost:8080/api/`CONTROLLER_NAME`/`METHOD_NAME`
CONTROLLER_NAME
=> Each .java file located in the controllers
folder (For example CONTROLLER_NAME for PostsController
: Posts )
METHOD_NAME
=> All of the methods in each .java file in the controllers
folder
- List all Posts:
https://localhost:8080/api/posts/getall
- List Comments by Post:
https://localhost:8080/api/comments/getallbypost/{postId}
- User Register
https://localhost:8080/api/auth/register