An open-source hospital management system designed to assist small hospitals around the world.
- Patient registration and management
- Doctor and appointment scheduling
- Lab test and prescription management
- User authentication and registration
It's recommended to use a virtual environment. This avoids potential package conflicts.
python3 -m venv venv
source venv/bin/activate # On Windows, use: .\venv\Scripts\activate
Navigate to the project directory and install the required libraries:
pip install -r requirements.txt
If you want to use a different database than the SQLite default, set the DATABASE_URI environment variable:
export DATABASE_URI="mysql+pymysql://<username>:<password>@<host>:<port>/<database>"
Before running the app for the first time, initialize the database:
from utils.database import Base, engine
Base.metadata.create_all(bind=engine)
Navigate to the project directory and run:
python app.py
Once the app is running, access it in your web browser at http://localhost:5000/
.
Contributions are welcome! Please feel free to submit pull requests or raise issues. (just pull request to the 'develop') branch is allowed!
This project is open-source and available under the MIT License.