https://github.com/geovation/gather
Bringing People And Data Together To Solve The Urban Sanitation Crisis. http://gatherhub.org/
https://github.com/geovation/gather
Last synced: 12 months ago
JSON representation
Bringing People And Data Together To Solve The Urban Sanitation Crisis. http://gatherhub.org/
- Host: GitHub
- URL: https://github.com/geovation/gather
- Owner: Geovation
- License: mit
- Created: 2017-11-13T09:53:00.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-14T10:33:32.000Z (over 8 years ago)
- Last Synced: 2025-01-08T21:34:52.192Z (over 1 year ago)
- Language: JavaScript
- Size: 443 KB
- Stars: 2
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Gather
Bringing people and data together to solve the urban sanitation crisis. http://gatherhub.org/
# Some technical background for the first year
* up to 12k points (toilets)
* data comes from different sources and will be cleaned up and uploaded manually
* up to 20 users
* some other small geo databases
* the app must work on 5 years old computers in areas with limited internet.
# Architecture
```
TODO: better diagram
```
## Firebase authentication
The app can authenticate users previously created manually by the administrator. Once the user has authenticated, its information is cached in the browser. So the app will see him/her as logged in even if there is not network.
## Firebase Storage
The geo data are saved in GeoJson format in Firebase Storage. Only authenticated users have access to it. The data is cached in the browser so the app will continue to work offline.
## Firebase Hosting
The app is a single page application hosted in Firebase CDNs.
## HTML + JS
The site is in github as it is deployed. IE: it doesn't have a build process.
The kick off file is `index.js` loaded from the `index.html`. It loads all the dependencies and executes `common\init.js` which initializes some commponets including `ReactJS`
## sw-toolkit
It is used to cache resources via service workers.