Skip to content

michaeljboyle/healthcare-painpoints

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Healthcare Painpoints

This website is a simple site to collect healthcare painpoints built with an Angular frontend and a Python backend on Google App Engine.

REST API

The frontend communicates with the backend via a REST API. The model is Posts. A post is has the following properties:

  • title
  • description
  • votes

Once created, a post can only be modified with an upvote, which increments the vote property by 1.

Frontend

The frontend is built with AngularJS with CSS using MDL (Material Design Lite). There are two views: one where all posts are viewed and voted on, and another where posts are submitted.

The API connection is made using an Angular feature called $resource, that has built-in handling of the standard Create, Read, Update, Delete functions.

TODO

  • Redo vote button so that it's in a more accessible place and never hidden by the "add" button. The other problem is that it will not appear correct when the number of votes counter surpasses 99. I think moving it to the left side would be better.
  • Fix the submit form so that the example text disappears when the user starts typing into the editable field.

About

Healthcare painpoints website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published