The GetIN project aims at strengthening the community referral system with a particular focus on the most-at-risk pregnant girls 12 to 19 years who are less likely to seek health care if no deliberate follow up system is in place. It is a community referral system (mobile and web) to support outreach to pregnant girls in rural communities in Uganda.
Number | Section |
---|---|
1 | - Local Environment Setup |
2 | - Project File Structure |
3 | - Useful Links |
4 | - Project Documentation |
5 | - App Deployment Instructions |
6 | - Contributing |
These are the setps you are to follow to spin up this application from a local development environment;
clone
this repository.cd
into project folder.- run
npm install
to install all dependencies.(you must have node installed) - Run
npm start
to spin up the dashboard.
Learn more about dependencies used in this project
|-- package.json
|-- README.md
|-- public '<--------------------------------- ** public assets folder'
| |-- index.html
|
|-- src
|-- App.js '<----------------------------- ** the main Component of the app'
|-- config.json
|-- env_config.js
|-- index.js
|
|-- api '<---------------------------- ** GetIn Backend API request utilities'
| |-- index.js
| |-- services.js
|
|-- assets
| |-- fonts
| |-- images
|
|-- components '<---------------------------- ** Resuable Components'
| |-- Card.js
| |-- ChartCard.js
| |-- Check.js
| |-- Footer.js
| |-- Header.js
| |-- Layout.js
| |-- NotFound.js
| |-- ScrollToTop.js
| |-- Seo.js
| |-- SideNav.js
| |-- Charts
| |-- AgeGroupOfMappedGirlsPieChart.js
| |-- chartOptions.js
| |-- DeliveriesPerSubCounty.js
| |-- FamilyPlaning.js
| |-- MappedGirlsBySubCounty.js
| |-- MappedGirlsPerSubcountyBarChart.js
| |-- utils
| |-- utils.js
|
|-- context '<---------------------------- ** Global State/Context folder'
| |-- AppReducer.js
| |-- GlobalState.js
|
|-- pages '<---------------------------- ** Dashboard Components'
| |-- FollowUps.js
| |-- HealthFacilities.js
| |-- Login.js
| |-- MappedGirls.js
| |-- ANC
| | |-- AncVisits.js
| | |-- Attended.js
| | |-- Completed.js
| | |-- ExpandableTable.js
| | |-- Expected.js
| | |-- Missed.js
| |
| |-- Dashboard
| | |-- Dashboard.js
| | |-- components
| | |-- AgeGroupOfMappedGirlsBarChart
| | | |-- index.js
| | |-- DeliveriesCard
| | | |-- index.js
| | |-- FollowUpsCard
| | | |-- index.js
| | |-- MappedGirlsCard
| | | |-- index.js
| | |-- MappedGirlsPerDistrict
| | | |-- index.js
| | |-- MappedGirlsPerSubcountyBarChart
| | |-- index.js
| |
| |-- Deliveries
| | |-- Deliveries.js
| | |-- HealthFacility.js
| | |-- Home.js
| |-- Messages
| | |-- Compose.js
| | |-- List.js
| | |-- Messages.js
| |-- Settings '<---------------------------- ** Admin user Settings components'
| | |-- Districts.js
| | |-- HealthFacilities.js
| | |-- index.js
| | |-- Add
| | | |-- HealthFacility.js
| | | |-- User.js
| | |-- Update
| | | |-- Admin.js
| | | |-- ChangePassword.js
| | |
| | |-- Users
| | |-- Admin.js
| | |-- GetIN
| | |-- Ambulance.js
| | |-- Dho.js
| | |-- Midwife.js
| | |-- Users.js
| | |-- VHT.js
| | |-- Add
| | | |-- Ambulance.js
| | | |-- Dho.js
| | | |-- Midwife.js
| | | |-- Vht.js
| | |-- Update
| | |-- Ambulance.js
| | |-- Dho.js
| | |-- Midwife.js
| | |-- Vht.js
| |-- Users
| |-- Ambulance.js
| |-- Midwife.js
| |-- Users.js
| |-- VHT.js
|
|-- styles '<---------------------------- ** Style sheets folder'
| |-- Footer.scss
| |-- global.scss
| |-- Header.scss
| |-- Login.scss
|
|-- utils '<---------------------------- ** App Helper functions'
|-- getData.js
|-- index.js
API Documentation | Live Dashboard | Test Dashboard |
---|---|---|
backend.getinmobile.org | dash.getinmobile.org | testdash.getinmobile.org |
- React-Bootstrap Documentation
- React-Bootstrap is used for the Styles and Layout of the dashboard.
- Bootstrap Table
- Bootstrap Table is used to represent application data in tables.
- Moment.js Documentation
- Helps with date and time caculation
- Alertify.js Documentation
- Displays alert messages when users login/logout or when posting data to the backend
- HighCharts Docs
- It's a library that enables visualization of application data with graphs and charts
- Axios Documentation
- Library that takes care of API requests made to the GetBackend server in the application
Find the detailed documentation of components and utility functions here
Ensure that you have the server pem key file in any of your directories.
Connect to the GetIN instance on aws
Locate the apache document root folder with dashboard
Pull latest changes from production branch
Run a production build
- ⇄ Pull/Merge requests and ★ Stars are always welcome.
- For bugs and feature requests, please create an issue.
- Pull requests must be accompanied by passing automated tests (
npm test
).
This project was bootstrapped with Create React App.