GithubHelp home page GithubHelp logo

miephd / collector Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 3.41 MB

Collector is an app you can use for people to let them document their experience of a planned trip or something like that.

JavaScript 52.94% CSS 19.51% HTML 27.55%
game progressive-web-app progressive-web-apps pwa pwa-app pwa-apps webapp

collector's Introduction

Collector

Collector is an app you can use for people to let them document their experience of a planned trip or something like that. So how it works: You have a list of cards that you have to unlock. For unlocking you have to answer a connected question right. If answered correctly you can take a picture that will then show up on the card instead of the name. To see your progress there is another page. It contains a hidden image that reveals more and more the more cards you fill with your taken images.

It's made as a progressive web app and works fully locally (and offline once installed). So you can host it on your server but also on servers like github as it is an html, js, css only page. All images you submit are stored in your browser and won't be sent to a server.

How to use

Create a file called /data.js. Input the data in JSON format with the structure below. In /assets add an image called path.png. This will be the image that gets reveald. Then upload your version to a server of your choice. Install the PWA through selecting install or add to homescreen (depends on your browser)

JSON Structure

data = [
  {
    description: "Your description that will show up on the cards that have no image yet",
    title: "Your title that will be displayed on the card's page",
    question: "The question that has to be answered",
    tpp: "A hint on the card's page that can be opened",
    answers: [
      {
        text: "Answer One",
        bool: true, //Is answer right or wrong?
      },
      ... //You can add unlimited more answers
    ],
  },
  ... //You can add unlimited more cards
];

collector's People

Contributors

miephd avatar

Stargazers

 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.