Pet owners play a crucial role in navigating veterinary healthcare systems and advocating for their animals. IBDog improves quality of life for dogs with Inflammatory Bowel Disease by helping owners better manage the chronic condition and communicate their observations with treating veterinarians. Users log symptoms, update medications, and see their dog's condition over time via a health score heatmap.
Check out the deployed app at ibdog.io!
React.js | Redux | Redux-Saga | Material UI | PostgreSQL | Node.js | Express.js | JavaScript | CSS
- Create a database named
ibd_dog
and execute the queries fromdatabase.sql
to create theuser
,dog
,medication
, andsymptom
tables. - Within a code editor, open a terminal window and install the dependencies by running:
npm install
- Run
npm run server
to start the server in one terminal window. Open a second terminal window, and runnpm run client
to start the client. Access the application atlocalhost:3000/#/
in the browser.
- To register as a new user, click
REGISTER
. Enter a username, password, dog's name, and dog's birthday. - To login as an existing user, enter the username and password and click
LOGIN
.
- Click the paw icon under the header or the home icon in the footer to access the Home page.
- This page displays the dog's name, birthday, current food, and active medications.
- To make edits to the dog's name, birthday, food, or image, click
EDIT
. Update the fields with any changes. ClickSAVE
to preserve the changes orCANCEL
to discard.
- Click the clipboard icon under the header to access Check-In.
- Use the radio buttons to select answers to the five questions and the checkbox to indicate whether medications were given that day. The answers to these questions are converted to a total score and color that is displayed on the the Health Status page.
- Click
SUBMIT
to enter a record. A record can be submitted once per day.
- Click the heart icon under the header to access Health Status and view prior Check-In submissions.
- Click the pencil icon to edit entries. Click the floppy disk to save changes. Click
x
to discard changes. - Click the trash icon to delete a record. A prompt will ask for confirmation prior to deleting.
- Use the dropdown in the table footer to change the number of records displayed on each page and the left and right arrows to navigate from page to page.
- Click the pill icon under the header to access Medications.
- Add a medication by clicking the purple plus button above the Medications table. Enter a name, dosage, frequency, and optional start date. Click
SUBMIT
when done. Medications are active by default when added. - Mark a medication inactive by deselecting the checkbox under the Active column. The date the medication was marked inactive is generated in the End column if a start date was provided.
- Delete a medication by clicking the trash icon. A prompt will ask for confirmation prior to deleting.
- Active medications appear on the Medications page as well as on the Home page.