LiterAlura is a console application developed in Java that allows users to register and query books in a database.
It uses an external API (Gutendex) to obtain information about books and store it in a PostgreSQL database.
- Java 17: Programming language.
- Spring Boot 3.4.1: Framework for Java applications.
- Spring Data JPA: Persistence abstraction that facilitates access to relational databases.
- PostgreSQL: Relational database management system.
- Hibernate: Object-relational mapping framework used to interact with the database.
- Jackson: Library for processing JSON, used to handle external API responses.
The LiterAlura purpose is to provide a book catalog where users can search for information about books by title, register new books in the database, and query already registered books.
The application interacts with the Gutendex API to obtain up-to-date data about books.
- Java 17: Install Java 17 or +.
- PostgreSQL: Install PostgreSQL (create a database
literalura_db
). - Maven: Project Dependencies management.
-
Must clone the repo
git clone https://github.com/tu-usuario/literalura.git cd literalura
- Search Book by Title: Allows the user to search for a book by its title using the Gutendex API.
- Register Book: Registers a book in the database if it is not already registered.
- List Books: Displays all books registered in the database.
- View Books by Language: Allows the user to view a list of books filtered by language.
Contributions are welcome. If you wish to contribute, please follow the steps below:
- Do a fork.
- Create a new branch (git checkout -b feature/new feature).
- Commit changes (git commit -m '.....').
- Push to new branch (git push origin feature/new feature).
- Open a Pull Request.
-
Starting Project
-
Search for Books by Title
-
List registered books
-
List registered authors
-
List living authors in a given year
-
List books by language
-
Top 10 most downloaded books
-
Get statistics
-
Exit
Click on the following link to watch the full demo video: 🎥 Ver Video Literalura application