Django web app that enclose the relationship between patients and medical service providers.
Imagine that you need to buy a medicine but you're so ill, so you can't go out your room to buy it. Do you remember a situation when you have to take an appointment with a doctor, but the medical clinic is far far away from your house. With Med Sal you can do all of this, you can:
- Order medical products from pharmacies
- Reserve appointments with Doctors
- Check appointments status
- Get benefit from delivery service
Initially, you need python 3.10 or higher installed on your local machine, then:
- Open a folder and build virtual environment within it via these commands:
virtualenv .venv
.venv\scripts\activate
for windows
(if you user mac or linux, do this instead:source .venv/bin/activate
)
- Next, clone the repo:
git clone https://github.com/maamounhajnajeeb/Med-Sal.git
- Now it's dependencies' time:
pip install -r requirements.txt
here you have to wait for some time until the dependencies installed suucessfully
actually the dependencies aren't that much (you can check them form requirements.txt file) - Write the desired environment variables. Actually, you need to add: SECRET_KEY, ALLOWED_HOSTS, Database and Email Configuaration
- After that, write Django magic commands:
python manage.py migrate
python manage.py runserver
Note: there's gunicorn dependecy in the requirements, but it's for production not development.
- Check Backend RestAPI docs from here: https://documenter.getpostman.com/view/26438410/2s9YeLX9QZ