This is a web-based eLibrary Management System built using Django (Python) and MongoDB. It allows users to browse, view, and manage books in an online digital library.
- User login & authentication
- Browse available books
- View book details
- Categorized book pages (e.g., Discrete Math, Python, Data Structures, etc.)
- MongoDB integration for data storage
- Clean UI with HTML/CSS/JS templates
- Backend: Django (Python)
- Frontend: HTML, CSS, JavaScript
- Database: MongoDB (hosted on MongoDB Atlas)
elibrary/
├── bbg/ # Main app
│ ├── static/ # CSS and JS files
│ ├── templates/ # HTML templates
│ ├── utils/ # MongoDB utility functions
│ ├── views.py # View logic
│ ├── urls.py # URL routing
│ └── ...
├── elibrary/ # Project settings
├── manage.py
This project uses MongoDB Atlas as the database. To connect your own MongoDB instance:
- Create a
.envfile in the root directory. - Add your MongoDB URI:
# .env
MONGO_URI=mongodb+srv://<username>:<password>@cluster.mongodb.net/elibraryEnsure your mongodb.py utility file reads from this environment variable.
- Clone this repository:
git clone https://github.com/Arni005/elibrary.git
cd elibrary- Create a virtual environment & activate it:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate- Install dependencies:
pip install -r requirements.txt-
Set up your .env file with MongoDB URI (as above).
-
Run the development server:
python manage.py runserverFrontend- @Kanika Gupta , @Dikshita Upadhyay (https://github.com/itsKanika , https://github.com/Dikshita-ims)
Backend- @Arni Johry , @Gargi Pathak (https://github.com/Arni005 , https://github.com/gargi-p3)
Database- @Himanshi (https://github.com/dynamicGurl)
