my-simple-odk
This is a simple roll-your-own server for receiving form submissions from ODK Collect and storing them in a Github repo, a Github Gist, or a Firebase database (Firebase is still experimental and reading a blank forms does not work).
This is currently experimental, needs more docs, and will possibly break
Installation
-
Clone this repo
git clone https://github.com/digidem/simple-odk-custom.git -
npm install - You must set the environment variable
FORM_STOREto one of:github- you also need to setGITHUB_USERandGITHUB_REPOgist- also setGIST_IDto the id of the gist you want to submit tofirebase- also setFIREBASE_APPto the firebase app name
e.g.
bash export FORM_STORE=github export GITHUB_USER=myrepoowner export GITHUB_REPO=mygithubreponame npm start
That should be it, check by visiting http://localhost:8080/ and you should see OK
Deploy on Heroku
Just click the button below and fill in the required environment variables (see above)
======================
See it on GitHub
Return to Code

