Git Product home page Git Product logo

ziwaphihealth's Introduction

HealthWatch

A suite of web based health applications

Installation

Clone this repository to your working directory

git clone [email protected]:CodeForAfrica/ZiwaphiHealth.git

Update composer

cd ZiwaphiHealth/Code/
composer update

You can now navigate to {your localhost}/ZiwaphiHealth/Code/public to run the app

Set Up

HealthWatch uses Fusion Tables and Socrata to store the data and execute queries for the different apps. Here will walk you on the step by step for each of the appications

Dodgy Doctors

This application helps you check if your doctor is registered, to confirm their area of practice and to check if they have malpractice cases. The data is hosted on Fusion Tables. To set up:

  1. Upload your data to Google Fusion Tables

  2. Change the share settings to publicly available on the web

  3. Grab the table id and set it accordingly on the custom config file: app/config/custom_config.php Change the dodgy_docs_table to your table id

  4. Change google_api_key to your Google API key

Medicine Apps

There are two apps in this section: the Medicine prices app and generics app. The data for these is also hosted on Fusion Tables. The set up is the same as above for Dodgy Doctors except for #3 where you'll change the 'medicine_table' value to your Fusion Table.

Hospitals App

This app helps users find hospitals around them. The data for this is hosted on Socrata.

  1. Change socrata_app_token to your app token

  2. Change hospitals_table to the Socrata app id

New Feed

The final step is to set up the blog feed for the stories.

You will need a Wordpress instance to feed the application with stories. For your instance to be usable you will need to do the following:

  1. Install JSON-API plugin

  2. Create a Health category

  3. In the custom config file change 'WPFeedRoot' to your Wordpress root

  4. Also, change 'WP_HealthCategory' to the category id of your Health category

Congrats! All done!

Built using Laravel PHP Framework

Latest Stable Version Total Downloads Build Status License

Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable, creative experience to be truly fulfilling. Laravel attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as authentication, routing, sessions, and caching.

Laravel aims to make the development process a pleasing one for the developer without sacrificing application functionality. Happy developers make the best code. To this end, we've attempted to combine the very best of what we have seen in other web frameworks, including frameworks implemented in other languages, such as Ruby on Rails, ASP.NET MVC, and Sinatra.

Laravel is accessible, yet powerful, providing powerful tools needed for large, robust applications. A superb inversion of control container, expressive migration system, and tightly integrated unit testing support give you the tools you need to build any application with which you are tasked.

ziwaphihealth's People

Contributors

nickhargreaves avatar

Stargazers

ICFJ Knight Fellowships avatar

Watchers

Adi Eyal avatar Justin Arenstein avatar James Cloos avatar Greg Kempe avatar ICFJ Knight Fellowships avatar

ziwaphihealth's Issues

Attribution for the medicine prices tool

Your medicine prices tool is very similar to Code for South Africa's. You currently include our logo but it is not clear from the text that Code for South Africa originated the tool. Attribution would be appreciated.

Medicine Prices outdated

Medicine prices in South Africa change regularly. I suggest you access the data directly from the api rather than clone it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.