A web-based management system for eye clinics, featuring role-based access control, patient management, and user administration.
- Role-based access control (Admin, Doctor, Nurse, Intern, Receptionist, Pharmacist)
- Patient information management
- User administration
- Role-specific dashboards and statistics
- Secure authentication
- Responsive design
- Python 3.8 or higher
- pip (Python package manager)
- Clone the repository:
git clone <repository-url>
cd eye-clinic-management- Create a virtual environment and activate it:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate- Install dependencies:
pip install -r requirements.txt- Set up the environment variables:
cp .env.example .env
# Edit .env with your configuration- Initialize the database:
flask db init
flask db migrate
flask db upgrade- Start the development server:
flask run-
Access the application at
http://localhost:5000 -
Login with one of the default accounts:
.
├── app.py # Main application file
├── models.py # Database models
├── requirements.txt # Python dependencies
├── .env # Environment configuration
├── templates/ # HTML templates
│ ├── dashboard.html
│ ├── edit_user.html
│ ├── login.html
│ └── manage_users.html
└── instance/ # Instance-specific files
└── clinic.db # SQLite database
- Password hashing using Werkzeug
- Session-based authentication
- Role-based access control
- CSRF protection
- Secure password storage
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
- Kelvin Boakye [LinkedIn](https://www.linkedin.com/in/kelvin-boakye-a8b2b6252/
- Holy Agyei [LinkedIn](https://www.linkedin.com/in/holy-agyei-247bab313/
- Elizabeth Sakyi Mensah [LinkedIn](https://www.linkedin.com/in/elizabeth-sakyi-mensah-/
- Afia Pokuaa [LinkedIn](https://www.linkedin.com/in/afiapokuaa/
- Kelvin Oppong Acheampong [LinkedIn](https://www.linkedin.com/in/kelvin-oppong-acheampong-936149309/
- Micheal Acheapong
This project is licensed under the MIT License - see the LICENSE file for details.