Sanjeevani is the IIT GN organised free medical health camp for rural communities around the campus. This is the app used in the 2018 camp for registrations and token-based queuing.
Built with Flask RESTful API backend and a web frontend, and some love.
- Patient Management
- Doctor Management
- Token Generation System
- Backend: Python Flask RESTful API
- Database: SQLite
- Frontend: HTML, CSS, JavaScript
-
Clone the repository:
git clone https://github.com/yourusername/sanjeevani.git cd sanjeevani -
Install the required dependencies:
pip install flask flask-restful -
Run the application:
python app.py -
Access the application at:
http://127.0.0.1:9000
GET /patient- List all patientsPOST /patient- Add a new patientGET /patient/<id>- Get patient detailsPUT /patient/<id>- Update patient detailsDELETE /patient/<id>- Delete a patient
GET /doctor- List all doctorsPOST /doctor- Add a new doctorGET /doctor/<id>- Get doctor detailsPUT /doctor/<id>- Update doctor detailsDELETE /doctor/<id>- Delete a doctor
GET /appointment- List all appointmentsPOST /appointment- Schedule a new appointmentGET /appointment/<id>- Get appointment detailsPUT /appointment/<id>- Update appointment detailsDELETE /appointment/<id>- Cancel an appointment
GET /token- List all tokensPOST /token- Generate a new tokenGET /token/<id>- Get token detailsPUT /token/<id>- Update token detailsDELETE /token/<id>- Delete a token
The application uses SQLite with the following tables:
patient- Stores patient informationdoctor- Stores doctor informationappointment- Manages appointments between patients and doctors
This project is licensed under the MIT License.
Tushar Borole