This project is a library management website built with Flask for the API backend and Vue.js for the user interface. Vue.js is utilized with the CLI for advanced development capabilities, while Bootstrap provides styling. The database is managed with SQLite, and Redis is employed for caching. Additionally, Redis and Celery are used for batch jobs.
- Flask backend for API endpoints.
- Vue.js frontend with advanced CLI features.
- Bootstrap for responsive and sleek UI design.
- SQLite for database management.
- Redis for caching frequently accessed data.
- Redis and Celery for batch job processing.
Before running this project locally, ensure you have the following installed:
- Node.js and npm (for Vue.js)
- Python (for Flask)
- Redis server
- Celery (Python library)
- SQLite (usually included with Python installations)
-
Clone the repository:
git clone https://github.com/gauravginodia/National-Library
-
Install frontend dependencies:
cd frontend_library npm install
-
Install backend dependencies (recommended to use a virtual environment):
cd ../backend pip install -r requirements.txt
-
Start Redis server:
redis-server
-
Start the Celery worker & beat:
cd backend celery -A app.celery_app worker --l INFO celery -A app.celery_app beat --l INFO
-
Start the Flask backend:
cd backend python app.py
-
Start the Vue.js frontend:
cd ../frontend_library npm run serve
-
Access the application in your browser at
http://localhost:8080
.
For any inquiries or support, please contact gauravginodia02@gmail.com or 22f3002972@ds.study.iitm.ac.in