scrtlabs / SafeTrace

Privacy preserving voluntary Covid-19 self-reporting platform. Share your location history and status, get alerts you are in high risk areas and identify high risk regions
MIT License
127 stars 27 forks source link

Front-End UI for MVP #21

Open ainsleys opened 4 years ago

ainsleys commented 4 years ago

We will need a front-end that:

We're agnostic to the libraries/frameworks used, tho I think team members are most familiar w/ React.

Some milestones for this issue:

related issue: https://github.com/enigmampc/SafeTrace/issues/3

alaaltoros commented 4 years ago

I am working on this issue, starting with the sign-up form and integrating it with the API

ainsleys commented 4 years ago

Hey @alaaltoros -- @shenrene was able to convert the python script to js ( see this issue https://github.com/enigmampc/SafeTrace/issues/16) . Let me know if you can work with this for transforming the google takeout json into the json expected by the SafeTrace API! As discussed yesterday, this should all take place in the client for privacy reasons

alaaltoros commented 4 years ago

Looks good, will need to modify the script a little to be able to parse a local file (the script downloads it from the server)

ainsleys commented 4 years ago

ah-- yep I see. That's my bad, I don't think I clarified where the file originates when discussing requirements with @shenrene . Let me know if you run into any issues!

alaaltoros commented 4 years ago

Hey @ainsleys

I created this PR. It is not ready yet.

It includes the following:

I Will be updating it as soon as other parts are ready. Please feel free to try it out, check the UI and give feedback.

P.S. The login/logout functionality requires google client id (check the README.md) and the upload button will output the parsed data in the console.