Skip to content

PWA (wrappable in cordova) that upload photos in a map

License

Notifications You must be signed in to change notification settings

Geovation/photos

Repository files navigation

Build Status FOSSA Status dependencies Status Maintainability Coverage Status npm version

Geovation photos

Many people in our Geovation Hub are asking for a simple tool to upload images into a map. It must be free, and easy to extend and white label. It also must work as mobile app as well as web app. An example of this is Planet Patrol. They needed an app to capture plastic pollution around UK. The idea of Geovation Photos is to be a skeleton for those types of apps.

Getting started

Firebase

  • install node
  • create a project with Blaze account
  • create a Cloud Firestore and a Realtime Database
  • create a storage
  • in google cloude console, make htat storage public readable.

Code

npm ci
cd functions
npm ci
cd ..
  • update the file .firebaserc with your project information.
  • update the files src/custom/config.dev.json with your project information.
  • update the files src/custom/config.prod.json with your project information.
  • build it npm run build
  • deploy it: npm run deploy

done !. Hopefully it is running. If not, let me know as we'd may need to update the documentation.

  • start the server locally: npm start

Update it

just pull from upstream. Be carefull to do not overwrite the custom folders

Demo

Demo PWA/Mobile app done from Geovation Photos. See a PWA demo live

See more Documentation.