A Pneumonia Detecting Web Application Built Using Python Flask(Backend server), React Js(Frontend UI), Tailwind CSS, Mongo DB(Database) & SendGrid
- Upload service for x-ray images
- Instant delivery of results
- User Authentication
- Dashboard to display user's history of scans
- Send reports to registered email
- Caching system logic embedded to obtain history of scans quickly
- Downloadable reports in pdf format
git clone https://github.com/xosteve26/PULSTRAT.git
Create a .env file in then frontend & backend folder and add the following
MONGO_URI = Your Mongo DB ATLAS URI [ Mongo DB connection string ]
SECRET_KEY = Your Flask Secret Key
SENDGRID_API_KEY = Your SendGrid API key [ For email functionality ] [Optional]
Frontend env consists of the base url, which is the endpoint of the flask server #For local environment
REACT_APP_BASE_URL=http://localhost:5000
cd frontend
npm install
cd backend
pip install -r requirements.txt
# Run frontend (:3000)
cd frontend
npm run start
# Run backend (:5000)
cd backend
python app.py
This test dataset consists of a total of 624 images, out of which 234 images belong to the NORMAL class and the remaining 390 belong to the PNEUMONIA class. Kindly download the dataset through this link and feel free to test it out.
# Create frontend production build [serve static build]
cd frontend
npm run build
serve -s build