Skip to content

SpringBoot project using RestTemplate to call other Rest service

Notifications You must be signed in to change notification settings

JulioPuma/api-client-service-rest-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Using Rest-Template to call Rest API Service

Description

Project using RestTemplate to call API Service.

Extra: Using Exception Handler using @ControllerAdvice and @ExceptionHandler

  • Language: Java 17
  • Framework: SpringBoot 3
  • Dependency management: Maven 3.6.3
logo logo logo

General diagram

logo

Sequence diagram

logo

Postman Collection

Click the link below to download the Postman collection:

Download Postman Collection

  1. Download the file from the link above.
  2. Open Postman.
  3. Click "Import" in the top left corner.
  4. Select the downloaded api-client-service-rest-template.postman_collection.json file.
  5. You can now test the API endpoints using the provided examples.

Dependencies

  • spring-boot-starter-web

  • lombok

  • h2

Package

  • controllers: Used to define endpoints.
  • service: Used to process logic bussines.
  • repository: Used to connect with relational databases .
  • proxy.client: Implements Classes to connect with other REST Services.
  • config: Used to configure the project behaviour.
  • model: Used to create simples object like POJOs, DTOs.

About

SpringBoot project using RestTemplate to call other Rest service

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages