An open API service indexing awesome lists of open source software.

https://github.com/abhaysingh71/book-recommendation-system

The Book Recommendation System is an AI-powered application that suggests books based on user preferences.The system features two approaches: Popularity-Based Recommender System, which highlights the top 50 most-rated books, and Collaborative Filtering-Based Recommender System, which recommends books based on user behavior.
https://github.com/abhaysingh71/book-recommendation-system

data-science dataanalysis flask-application machine-learning python recommender-system render

Last synced: 5 months ago
JSON representation

The Book Recommendation System is an AI-powered application that suggests books based on user preferences.The system features two approaches: Popularity-Based Recommender System, which highlights the top 50 most-rated books, and Collaborative Filtering-Based Recommender System, which recommends books based on user behavior.

Awesome Lists containing this project

README

          

📚 Book Recommendation System 🚀



A machine learning-based recommendation system with an interactive web interface.



Project Banner




🔍 About the Project



The Book Recommendation System is a full-stack project featuring a Flask-based backend for machine learning and a React + Vite frontend for an intuitive user experience. It suggests books based on user preferences using cosine similarity and collaborative filtering.






🚀 Features



  • 🔍 Content-Based Filtering using Cosine Similarity

  • 📊 Popularity-Based Recommender System - Displays top 50 books

  • 🤝 Collaborative Filtering-Based Recommendations

  • 🌐 Flask Backend handling ML model & API endpoints

  • ⚛️ React + Vite Frontend for an interactive UI

  • ☁️ Deployed on Render for accessibility






🛠️ Tech Stack




  • Python 🐍 - Backend Language


  • NumPy 🔢 - Numerical Computations


  • Pandas 📊 - Data Processing


  • Scikit-learn 🤖 - ML Model


  • Flask 🌐 - Backend Framework


  • React + Vite ⚛️ - Frontend


  • Render ☁️ - Deployment Platform






📂 Folder Structure



📦 Book-Recommendation-System
├── 📂 backend # Flask ML Backend
│ ├── 📄 app.py # API Server
│ ├── 📄 model.pkl # Trained Recommendation Model
│ ├── 📄 requirements.txt # Backend Dependencies
├── 📂 frontend # React + Vite Frontend
│ ├── 📄 index.html # Main HTML
│ ├── 📄 App.tsx # Main React Component
│ ├── 📄 styles.css # UI Styling
├── 📄 README.md # Project Documentation





🚀 How to Run



1️⃣ Clone the Repository



git clone https://github.com/YourUsername/Book-Recommendation-System.git
cd Book-Recommendation-System


2️⃣ Setup Backend (ML Part)



cd backend
python -m venv env
source env/bin/activate # On macOS/Linux
env\Scripts\activate # On Windows
pip install -r requirements.txt
python app.py


3️⃣ Setup Frontend (React + Vite)



cd frontend
npm install
npm run dev


Then, open http://127.0.0.1:5000/ for the backend and the frontend will be available at http://localhost:5173/.






🚀 Deployment


The project is deployed on Render. You can access it here:




🌐 Open Live Demo






📜 License


This project is open-source and available under the MIT License.






🙌 Contributing


Contributions are welcome! Feel free to fork this repository, create a new branch, and submit a pull request. 😊








💡 Happy Learning! 🚀