Skip to content

SpringSecurity-Keycloak/ToolRentalService

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tool Rental App

The Tool Rental App is a point-of-sale tool for a store, like Home Depot, that rents big tools. The below functions have been implemented:

  • Customers rent a tool for a specified number of days.
  • When a customer checks out a tool, a Rental Agreement is produced.
  • The store charges a daily rental fee, whose amount is different for each tool type.
  • Some tools are free of charge on weekends or holidays.
  • Clerks may give customers a discount that is applied to the total daily charges to reduce the final charge.

Documentation

The documentation and design for this service is available here

Code Generation

This server was generated by the swagger-codegen project.
By using the OpenAPI-Spec, you can easily generate a server stub.
This is an example of building a swagger-enabled server in Java using the SpringBoot framework.

The underlying library integrating swagger to SpringBoot is springdoc-openapi

Build Dependencies

The service is built using

  • JDK 15
  • Spring Boot 3.0.1
  • Open API 3.0

Build and Run

Start your server as an simple java application using the below command
mvn spring-boot:run

OpenAPI / Swagger UI

You can view the Openapi UI documentation in swagger-ui by pointing to
http://localhost:3000/

Change default port value in application.properties]()

Postman Collection

The Postman collection to test this service is available here

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages