➡️ SpringBoot
➡️ Java
➡️ PostMan
➡️ MySQL DataBase
1. Controller : In Controller package the UserController is the gateWay to the API endpoints, Here we have provided many APIs perfrorm basic CRUD Operations on ToDo
2. Services : All the operations linked with controller is been implemented with additional logics in service layer, service layer also interact with repository layer.
[ https://github.com/HHrisHikesHH/SpringBoot/tree/main/FEB/todo/src/main/java/com/hrishikesh/todo/service](https://github.com/HHrisHikesHH/SpringBoot/tree/main/FEB/Instagram/src/main/java/com/hrishikesh/Instagram/service)
3. Repository : Repository layer interacts with Database(MySQL) and persist the changes requested, We extend the JPA repository to get the predefined function.Here inside JPARespository Interface we have another Interface called CRUDRepo with provides us some of the preDefined methods
- ArrayList
- JSONArray
- JSONObject
➡️ : FindAll Users : localhost:8080/api/v1/user/get
➡️ : FindAll Active Users : localhost:8080/api/v1/user/get?password=pass
➡️ : FindById User : localhost:8080/api/v1/user/get?userId=10
➡️ : Create User : localhost:8080/api/v1/user/save
➡️ : Update User : localhost:8080/api/v1/user/update?userId=14
➡️ : Delete User : localhost:8080/api/v1/user/delete?userId=14
➡️ : FindAll Posts : localhost:8080/api/v1/post/get
➡️ : FindById Posts : localhost:8080/api/v1/post/get?postId=4
➡️ : Create Post : localhost:8080/api/v1/post/save
➡️ : Update Post : localhost:8080/api/v1/post/update?postId=11
➡️ : Delete Post : localhost:8080/api/v1/post/delete?postId=10





















