Giter Site home page Giter Site logo

sargant / dfyb.run Goto Github PK

View Code? Open in Web Editor NEW
45.0 45.0 10.0 1.47 MB

A tool that lets you add your parkrun ๐Ÿƒโ€โ™‚๏ธ๐Ÿ’จ barcode to your iPhone ๐Ÿ“ฑ and Apple Watch โŒš

Home Page: https://dfyb.run

License: BSD 3-Clause "New" or "Revised" License

HTML 4.35% TypeScript 91.09% JavaScript 4.09% CSS 0.48%
apple-wallet apple-watch iphone parkrun web-application

dfyb.run's People

Contributors

sargant avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

dfyb.run's Issues

Validation

It's a completely naive implementation at the moment, with zero validation.

Some thoughts on what validation could encompass:

  • Ensuring athlete IDs conform to /^A[0-9]+$/
  • Ensuring athlete name and ICE contact name aren't blank
  • Ensuring the ICE contact number is exactly that, a number
  • Providing a default value of "None" for medical info if the default is cleared

Also - should validation be done on both client & server, or server only? As the pass is retrieved by redirecting to a different URL, we can render a different page with an error message instead.

Dynamic run count badge

Probably nigh-on impossible, between parkrun API access and the need for dfyb.run to have its own stateful backend. Nice to have though?

Multiple passes on one device

There is a way to have multiple passes on one device - this is a good use case for dfyb.run as a backup for an entire family.

Leave beta!

Requires some field trials and feedback to ensure it works!

Get proper linting set up

Using the default linting from create-react-app at the moment. Would prefer to have a stricter setup enabled, and use it as part of the build chain.

Localization

At the moment, it's only in English. Localizing it into every local parkrun language would be ace.

Themes & flairs

Would be nice to add some customisation to the passes - Iโ€™m thinking milestone related?

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.