A web application built using java and java-spark framework.
The inspiration behind the project is to speed up the process of linking organ donors to organ recipients.
git clone <https://github.com/peter-wachira/PatanishaOrgans.git>
this repositorycd PatanishaOrgans
- To run test, run files under tests/java package for DatabaseRule, Doctor, Receipient Donor tests
1.Launch postgres
2.Type in psql
Run these commands:
3. CREATE DATABASE patanisha_organs;
4. \c PatanishaOrgans;
5.CREATE TABLE donor(id serial PRIMARY KEY, name varchar, bloodgroup varchar, organ varchar, doctorid int);
6.CREATE TABLE recepients (id serial PRIMARY KEY, name varchar, bloodgroup varchar, organ varchar, doctorid varchar);
7.CREATE TABLE doctor(id serial PRIMARY KEY, name varchar, hospital varchar, contact varchar);
To view the page click on the link below https://whispering-bastion-65831.herokuapp.com/
The applications allow users to do the following:
1. Register users with their medical, Update and Delete a donor
2. Donor Selects an organ they want to donate
3. Donor Selects a doctor to oversee.
4. Register, Update and Delete a receipient
5. Receipient can select the organ they want
5. Register, Update and Delete a doctor
6. Users can view frequently asked questions
7. Users can view Additional resources and related links
8. Contacts page
- Quick note that The page loads a bit slow due to the hosting, kindly be a little patient everything works just fine.
- As at the time this project was made, responsiveness was not a major concern
- The project is currently not being maintained any more
- Thanks for understanding.
- This project is no longer maintained. But if you want to contribute reach out o me via the details below
You can contact me at [email protected]
- This project is licensed under the MIT Open Source license Copyright (c) 2019. LICENCE