Skip to content

Single page app for dribdat challenges and projects 🧺

License

Notifications You must be signed in to change notification settings

dribdat/backboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Backboard for Dribdat

This is a single page application (SPA) that shows the projects and challenges for a hackathon event using the remote API of Dribdat.

Project data is shown for a specific event, with flexible configuration options for displaying and sorting the results in different ways. You can seamlessly navigate using your mouse or keyboard between projects and challenges. More functionality is planned in the future, with the long-term goal of creating a more modern, decoupled frontend for Dribdat.

The Backboard has minimal formatting, tight margins, and is ideal for embedding into your webpage anonuncing the upcoming event or results. If you are developing a Vue.js app, you can import the Challenges, Honeycomb and Preview components into your app.

Tip: You may want to enable Challenges and Previews (opens a modal dialog with swipable navigation) in the options at the footer of the page. Use the handy Share link to get a URL with your config.

Demo: https://backboard.vercel.app/

Installation

Deploy this application with any service that supports Node.js

Deploy with Vercel

Usage

Put a datapackage.json file that you exported from dribdat into the public folder - or just configure with a link to your dribdat event.

You can use the following environment variables:

  • VUE_APP_DRIBDAT_URL (required) - fully qualified link to your Dribdat event, or online hosted Data Package (* see examples)
  • VUE_APP_DEFAULT_OPTS - the default display settings - copy the part after ? from the Share link.
  • VUE_APP_HIDE_TOOLBAR - makes the options toolbar in the footer unavailable.
  • VUE_APP_VOTE_FORM_URL - link to a form where you are collecting votes or feedback, otherwise the Dribs Post feature will be used.
  • VUE_APP_TIMER_LENGTH - in minutes, how long the countdown timer should run for in presentation mode (0 to disable).
  • BACKBOARD_ROOT - if your deployment is not at the root, change it here (e.g. /backboard)

* Examples:

Development

To run locally, install Node.js and Yarn, then to start a development server:

yarn install
yarn serve

Credits

Created using Vue.js and CodeSandbox.

See also this earlier version: https://github.com/dribdat/dribdat2_frontend

Why backboard?

Players typically aim for the box in the backboard when making a shot in basketball.

MIT License

About

Single page app for dribdat challenges and projects 🧺

Resources

License

Stars

Watchers

Forks