Skip to content

A Store REST Framework using Spring Boot, performed various custom queries with the backend, used Spring security for authentication service and also performed pagination

Notifications You must be signed in to change notification settings

reuben21/Store-Spring-REST-Framework-Java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

error



The GET APIs

  1. To Fetch Products Before A Certain Date
    @GetMapping("/product/purchase/{vendor_id}")

  2. To Fetch Customer From A Certain Vendor
    @GetMapping("/customer/purchase/{vendor_id}")

  3. To Fetch Products From the Ceratin City, City Field is Stored in Profile
    @GetMapping("/product/customer/{city}")

The POST APIs

  1. To Create A vendor
    @PostMapping("/vendor")

  2. To Create A Customer
    @PostMapping("/customer")

  3. To Update Customer Profile
    @PostMapping("/customer/{customer_id}")

  4. To Add A Product To the Vendor, Where Vendor Can be Identified By his ID
    @PostMapping("addproduct/{vendor_id}")

  5. 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

Topics

Resources

Stars

Watchers

Forks

Languages