Skip to content

A Spring Boot application for consuming and mapping REST API data to DTOs.

License

Notifications You must be signed in to change notification settings

polakDas/consumeRestAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot API Consumer and Mapper

This Spring Boot application demonstrates how to consume a REST API, map the retrieved data to DTOs, and expose the data through a new REST API endpoint. The application includes two images: one illustrating the main API you are consuming and another showing your API's endpoint.

Getting Started

These instructions will help you set up and run the project on your local machine for development and testing purposes.

Prerequisites

  • Java Development Kit (JDK) 8 or higher
  • Gradle (for building the project)
  • Your favorite Integrated Development Environment (IDE)

Installing

  1. Clone this repository to your local machine:

    git clone https://github.com/polakDas/consumeRestAPI.git
  2. Open the project in your IDE.

  3. Build the project using Gradle:

    gradlew build

Running the Application

  1. Start the Spring Boot application:

    gradlew bootRun
  2. The application should now be running at http://localhost:8080.

API Endpoint

You can access the API endpoint by making a GET request to http://localhost:8080/. It returns data retrieved from the main API after mapping it to DTOs.

Built With

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Acknowledgments

  • Thanks to Alex Wohlbruck for providing the data used in this project.

Screenshots

Main API

Main API

Your API

Your API

About

A Spring Boot application for consuming and mapping REST API data to DTOs.

Topics

Resources

License

Stars

Watchers

Forks

Languages