Skip to content

Elvis-Sarfo/safeplaces-frontend

 
 

Repository files navigation

Safe Places

A toolkit for public health, built on top of data shared by users of Private Kit

Project Status

Project Status: WIP – The project is still under development and will reach a Minimum Viable Product stage soon.

The project is still under development and will reach a Minimum Viable Product (MVP) stage soon.
Note: There can be breaking changes to the developing code until the MVP is released.

Server

A server implementation can be easily built to host these tools. See how in the Server API documentation.

Tools

Tool to visualize and redact time/location data. Intended for use in Contact Tracing.

  • Input: JSON exported/shared from Private Kit.

  • Output: Redacted JSON of time/location data.

NOTE: The app requires a Google Maps Javascript API key to work fully

Tool to combind and publish redacted time/location data files. Intended for use by Healthcare Authorities.

  • Input: Redacted JSON time/location files.

  • Output: safe-paths.json -- a file ready for posting on a webserver to be consumed by Private Kit : Safe Paths

NOTE: The app requires a Google Maps Javascript API key to work fully

Transpiling to ES5

Before deployment run the following command to transpile JS code to ES5. Files in js_es5 will be updated

npm run build

Deploying SafePlaces

How to build SafePlaces docker container

docker build -t safe-places:latest .

Note: The container requires no state of persistence to run. All data is persisted within the browser

How to run the SafePlaces container

docker run --rm --name safeplaces -it -p 80:80 safe-places:latest

Note: The "--rm" flag will ensure that the docker container is deleted and cleaned up upon termination

How to use SafePlaces

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 99.9%
  • Dockerfile 0.1%