A simple mockup of a patient portal.
Front-end: Vanilla HTML/JS with Bootstrap
Back-end: Ruby on Rails, SQLite3
To test locally (assuming a working Rails dev environment):
- Clone repository locally, and
cd
into it using terminal - Install dependencies:
bundle install
- Migrate database:
rails db:migrate
- Seed database:
rails db:seed
- Start server:
rails server
- Navigate browser to:
localhost:3000
The appointments
API is assigned per patient
. Thus, it is necessary to first hit /api/patients
, grab desired patient id
, then grab all appointments via: /api/:patient_id/appointments