← Winnitude! Search  ·  Reader Mode (1223 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 46 LINKS

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-Java
Public

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-security

Resources

Readme Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks Report repository
Branches

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

  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

java-8 javaapi javaee rest-api spring-boot spring-security

Resources

Readme Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks Report repository

Contributors

Languages