Code Monkey home page Code Monkey logo

simple-odk's Introduction

Simple ODK

travis npm downloads js-standard-style donate

Currently experimental, things will change and potentially break

This is a minimal server for OpenDataKit (ODK) that uses Github for storing form submissions as geojson files, and media files on Amazon S3. It can receive form submissions from ODK Collect. Authentication is passed through to Github - you will need to enter your github username and password in ODK Collect.

The Github repo for form storage is defined by the url used in ODK Collect: http://simpleodk.org/:user/:repo/ where :user is your github username and :repo is the github repo where you would like to store the form submissions. The Github user authenticaed with ODK Collect must have write access to this repo.

The Amazon S3 bucket used for storage is also derived from the url, of the form simpleodk.user.repo. You will need to provide S3_KEY and S3_SECRET via environment variables for a user that has S3:PutObject and S3:PutObjectAcl permissions on the bucket. If you do not submit any photos / media files with the forms, you do not need an S3 bucket.

This is like Jekyll - using static files for data. It avoids needing to maintain a database and it means we always have access to the raw data, even if servers go down (unless github goes down, of course, but then the whole web is in trouble).

simple-odk's People

Contributors

gmaclennan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.