LiterFont is an application that allows users to search for books using the Gutenberg API and save the information in a PostgreSQL database. The application offers several functionalities to manage and query book and author data.
- Search book by name: Allows the user to search for a book by its title.
- List registered books: Displays a list of all books registered in the database.
- List registered authors: Displays a list of all authors registered in the database.
- List living authors in a given year: Displays a list of authors who were alive in a specific year.
- List books in a given language: Displays a list of books in a specific language.
- Language: Java
- Framework: Spring Boot
- Persistence: JPA (Java Persistence API)
- API: Gutenberg API
- Database: PostgreSQL
-
Clone the repository:
git clone https://github.com/your-username/LiterFont.git cd LiterFont
-
Configure the application.properties:
spring.application.name=LiterFont
spring.datasource.url=jdbc:postgresql://localhost/liter_font
spring.datasource.username="Your PostgreSQL username"
spring.datasource.password="Your PostgreSQL password"
spring.datasource.driver-class-name=org.postgresql.Driver
hibernate.dialect=org.hibernate.dialect.HSQLDialect
spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=false
spring.jpa.format-sql=false