A library management system built with Flask that allows users to manage books, authors, and users.
- Create and activate a virtual environment:
# Windows
python -m venv venv
venv\Scripts\activate
# Linux/Mac
python3 -m venv venv
source venv/bin/activate- Install required packages:
pip install -r requirements.txt- Set up the admin user and database:
python create_admin.pyThis script will:
- Initialize the database
- Create necessary tables
- Set up an admin user with the following credentials:
- Email: admin@example.com
- Password: admin123
- Start the development server:
python wsgi.py- Open your browser and navigate to:
http://localhost:5001
- Log in with the admin credentials created above.
- User authentication and authorization
- Course creation and management
- Secure user authentication with password hashing
- Role-based access control (RBAC) for authorization
- Student enrollment system
- Course content management
- Notes taking system
- Discussion forum
- Admin dashboard
- File upload support
- User profiles