Skip to content

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Latest commit

 

History

69 Commits

Folders and files

Repository files navigation


✨ About Bargin

Bargin is a modern E-Library platform that brings thousands of books to your fingertips — on the web and on mobile. Browse, borrow, read, and manage your personal library from anywhere.

📖 "A room without books is like a body without a soul." — Now your room fits in your pocket.


🚀 Features

Feature Description
🔍 Smart Search Find books by title, author, genre, or ISBN in milliseconds
📚 Digital Borrowing Borrow e-books with automatic return dates
🌙 Dark / Light Mode Easy on the eyes, day and night
📱 Cross-Platform Seamless experience on Web, Android (Kotlin) & Flutter app
🔐 Secure Auth JWT-based authentication with role management (Admin / Member)
⭐ Reviews & Ratings Rate books and read community reviews
📊 Reading Dashboard Track progress, bookmarks, and reading history
🔔 Smart Notifications Due-date reminders & new arrival alerts

🧰 Tech Stack

Layer Technology
🎨 Frontend (Web) React React + Vite + TailwindCSS
⚙️ Backend Django Django REST Framework
🗄️ Database MySQL MySQL
📱 Mobile (Native) Kotlin Kotlin (Android)
📱 Mobile (Cross-Platform) Flutter Flutter (Dart)
🔑 Auth JWT (JSON Web Tokens)

🗂️ Project Structure

bargin/
│
├── 📁 backend/              # Django REST API
│   ├── 📁 api/              # REST endpoints
│   ├── 📁 books/            # Book models & logic
│   ├── 📁 users/            # Auth & user management
│   └── 🐍 manage.py
│
├── 📁 frontend/             # React web app
│   ├── 📁 src/
│   │   ├── 📁 components/
│   │   ├── 📁 pages/
│   │   └── 📁 hooks/
│   └── 📦 package.json
│
├── 📁 mobile-kotlin/        # Native Android app
│   └── 📁 app/src/main/
│
├── 📁 mobile-flutter/       # Cross-platform Flutter app
│   └── 📁 lib/
│
└── 📄 README.md

⚡ Getting Started

🔧 Backend (Django)

cd backend
python -m venv venv
source venv/bin/activate      # Windows: venv\Scripts\activate
pip install -r requirements.txt
python manage.py migrate
python manage.py runserver

API runs at: http://localhost:8000/api/

🎨 Frontend (React)

cd frontend
npm install
npm run dev

Web app runs at: http://localhost:5173/

📱 Mobile (Flutter)

cd mobile-flutter
flutter pub get
flutter run

📱 Mobile (Kotlin)

Open mobile-kotlin/ in Android Studio, sync Gradle, and hit ▶️ Run.


🔌 API Overview

Method Endpoint Description
POST /api/auth/register/ Create an account
POST /api/auth/login/ Get JWT tokens
GET /api/books/ List all books
GET /api/books/:id/ Book details
POST /api/books/borrow/ Borrow a book
POST /api/books/return/ Return a book
GET /api/users/me/ Profile & history

🗺️ Roadmap

  • 🏗️ Project scaffolding
  • 🔐 Authentication (JWT)
  • 📚 Book catalog API
  • 📖 In-app e-book reader (EPUB/PDF)
  • 🌐 Multi-language support (EN / FA)
  • 🤖 AI-based book recommendations
  • ⬇️ Offline reading mode
  • 🔔 Push notifications

🤝 Contributing

Contributions are welcome! 🎉

  1. 🍴 Fork the repository
  2. 🌿 Create your branch: git checkout -b feature/amazing-feature
  3. 💾 Commit your changes: git commit -m 'Add amazing feature'
  4. 📤 Push to the branch: git push origin feature/amazing-feature
  5. 🔃 Open a Pull Request

📜 License

Distributed under the MIT License. See LICENSE for more information.


📬 Contact

GitHub Email LinkedIn

Made with ❤️ and lots of ☕

⭐ If you like Bargin, don't forget to star the repo! ⭐

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages