A demo app of a health dashboard used by care coordinators to manage patients at a high level. Demonstrates core concepts of what you'd likely see in a standard web application.
- Install MongoDB
- Navigate to
/server
directory npm install
- Install & run
mongod
- Import sample data
mongoimport --db care_coordinator_dashboard --collection Users --type json --file /path/to/project/server/sample_data/users.json --jsonArray
mongoimport --db care_coordinator_dashboard --collection Prescriptions --type json --file /path/to/project/server/sample_data/prescriptions.json --jsonArray
mongoimport --db care_coordinator_dashboard --collection Compliances --type json --file /path/to/project/server/sample_data/compliances.json --jsonArray
- Install React
- Navigate to
/client
directory npm install
- Navigate to
/server
directory node index.js
mongod
(can be run from any path)
- Navigate to
/client
directory yarn start
app.js
: Highest level container. Contains all components listed belowuser_list.js
: Displays table of users (Hidden on mobile when sidebar is visible)side_bar.js
: Container for toggling betweenuser_basics.js
anduser_details_edit.js
user_details.js
: Container for showing 1 of the following three components as tabs:user_details_basics.js
: Displays basic user information provided byUsers
db tableuser_details_prescriptions.js
: Displays a users prescriptions provided byPrescriptions
db tableuser_details_compliances.js
: Displays a users compliances provided byCompliances
db table
user_details_edit.js
: For for editing basic user information