Backend application developed in Java and Spring Boot as part of a challenge to practice and solidify my study content.
Explore the docs »
Table of Contents
In this challenge, I created a comprehensive book repository by integrating data from the Gutendex API. The process involved fetching book data in JSON format and converting this data into Java objects to ensure seamless manipulation and storage within a PostgreSQL database
To achieve this, I utilized Spring Boot to handle with data and streamlined backend operations. The JSON data was mapped to Java class objects using tools like Jackson, allowing for effective data manipulation and persistence. The Spring Data JPA was employed to manage database interactions, providing a clean and efficient way to handle CRUD operations.
To utilize the extracted data from Gutendex, I employed the Jackson library to convert the JSON response into manageable Java class objects. These objects were then structured within the Spring Boot context to build the database using ORM, ensuring seamless data handling and persistence.
Here are some important topics about this project and how to replay it.
Before starting this application in your local environment, it'll be necessary to proceed with some tasks to reproduce this project.
- Clone the repo
git clone https://github.com/luk3mn/literalura.git
- PostgreSQL database set up
sudo docker-compose up -d
- Http Request and Http Response to extract API data
- Convert data JSON in java class
- Storing data from API response
- find all books
- find all authors
- Query JPQL to get authors alive in a specific year
- Query JPQL all book by language
- List top 10 downloaded books
Distributed under the MIT License. See LICENSE.txt
for more information.
- username: @luk3mn
If you have any feedback, please reach out to us at lucasnunes2030@gmail.com
Project Link: https://github.com/luk3mn/literalura