GitHub - reuben21/Store-Spring-REST-Framework-Java: A Store REST Framework using Spring Boot, performed various custom queries with the backend, used Spring security for authentication service and also performed pagination
Repository navigation
Store-Spring-REST-Framework-JavaPublic
About
A Store REST Framework using Spring Boot, performed various custom queries with the backend, used Spring security for authentication service and also performed pagination
Topics
java-8 javaapi javaee rest-api spring-boot spring-securityResources
Readme ActivityStars
1 starWatchers
1 watchingForks
0 forks Report repositoryBranches
Tags
Go to Branches page Go to Tags page
Latest commit
History
19 Commits
View commit history for this file.
Folders and files
| Name | Name | Last commit message | Last commit date |
|---|---|---|---|
| .mvn/ wrapper | .mvn/ wrapper | ||
| images | images | ||
| src | src | ||
| .gitignore | .gitignore | ||
| README.md | README.md | ||
| mvnw | mvnw | ||
| mvnw.cmd | mvnw.cmd | ||
| pom.xml | pom.xml | ||
Repository files navigation
A Store REST application using Spring Boot
What was your motivation?
- To Learn Spring Boot and its Many New Features
Why did you build this project?
- To Learn How REST API's work with Spring Boot
What did you learn?
- Implement Spring Security
- Spring Boot Automatically creates tables in the database
- Also Learned to Perform Custom Queries
Below is the image of The REST Framework Designed and the flow of the project
The GET APIs
- To Fetch Products Before A Certain Date
@GetMapping("/product/purchase/{vendor_id}") - To Fetch Customer From A Certain Vendor
@GetMapping("/customer/purchase/{vendor_id}") - To Fetch Products From the Ceratin City, City Field is Stored in Profile
@GetMapping("/product/customer/{city}")
The POST APIs
- To Create A vendor
@PostMapping("/vendor") - To Create A Customer
@PostMapping("/customer") - To Update Customer Profile
@PostMapping("/customer/{customer_id}") - To Add A Product To the Vendor, Where Vendor Can be Identified By his ID
@PostMapping("addproduct/{vendor_id}") - For A Customer to Purchase A Product , where customer id and product id will be taken
@PostMapping("/customer/product/{customer_id}/{product_id}")
About
A Store REST Framework using Spring Boot, performed various custom queries with the backend, used Spring security for authentication service and also performed pagination