Skip to content

Book Recommender is a full-stack web application that uses OpenAI to provide personalized book suggestions. Users can ask for recommendations based on topics, genres, or preferences, and save their favorite books to a personal list.

Notifications You must be signed in to change notification settings

doh6077/Book-recommender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

14 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“˜ Book Recommender โ€“ Project Progress

A microservice-based application that allows users to get AI-powered book recommendations and save them to a personal collection.


โœ… Whatโ€™s Been Implemented

๐Ÿ”น 1. Book API Service (User Service)

  • Built using Spring Boot
  • Connects to a local PostgreSQL database
  • Allows saving book information using JPA
  • API endpoint(s) to:
    • Save book details
    • Retrieve saved books (if implemented)

๐Ÿ”น 2. Recommendation Service (OpenAI Integration)

  • Built as a separate Spring Boot microservice
  • Accepts user input as a prompt (e.g. genre, interests)
  • Sends requests to the OpenAI API (gpt-3.5-turbo)
  • Returns generated book recommendations to the frontend or consumer

๐Ÿšง What Needs to Be Done Next

๐Ÿ”ธ Backend

  • Implement Firebase Admin SDK to validate user tokens in both services
  • Link saved book records to Firebase UID
  • Add GET endpoint to retrieve user's saved books
  • Format OpenAI responses into a clean structure (title, author, summary)

๐Ÿ”ธ Frontend (Angular)

  • Set up Angular project with routing and Bootstrap
  • Implement Firebase Authentication (email/password)
  • Build UI for:
    • Asking for book recommendations
    • Displaying OpenAI-generated results
    • Saving a book to the backend
    • Viewing saved book list

๐Ÿ“ฆ Microservices Summary

Service Description
book-recommendation-service Handles OpenAI API interaction for book suggestions
user-favorite-service Stores and retrieves user book data (PostgreSQL)

๐ŸŒฑ Future Enhancements

  • Add tags or genres to books
  • Allow users to rate or comment on saved books
  • Deploy frontend (Firebase Hosting) and backend (Render/Railway)

About

Book Recommender is a full-stack web application that uses OpenAI to provide personalized book suggestions. Users can ask for recommendations based on topics, genres, or preferences, and save their favorite books to a personal list.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published