GithubHelp home page GithubHelp logo

lubien / sorteios Goto Github PK

View Code? Open in Web Editor NEW
37.0 37.0 14.0 151 KB

Prize draw system built using Phoenix (LiveView + Presence + PubSub)

Home Page: https://sorteios.lubien.dev

Elixir 67.75% CSS 11.38% JavaScript 2.56% HTML 15.88% Dockerfile 2.21% Shell 0.14% Batchfile 0.09%
app hacktoberfest live liveview phoenix prize-drawing self-hosted

sorteios's Introduction

lubien's github stats

๐Ÿ”— Contacts:

Twitter Telegram

sorteios's People

Contributors

dhonysilva avatar gvirtu avatar joaopedromoraez avatar lubien avatar rafaelacorrea avatar tanukesensei avatar thauska avatar theodowling avatar vrtineu avatar xtecna 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

Watchers

 avatar  avatar  avatar  avatar

sorteios's Issues

Separate "current prize" from the others

image

Our current "current prize" logic is that it will always pick the first unclaimed prize. The UX here is not very clear!

There should be something like this:

## h2: Current prize

[show next prize here]

## Next prizes

[show everything else here]

Add prize form should ask you how many

image

Usually when there's a prize repeated I just create it one-by-one. This form should ask how many (default 1) and create that prize times the count input

Download QR Code

image

Add a button to quickly download the QR Code so you can share

Add "Logout" to the navbar

Our session system is pretty simple, we just add email and name session keys. A logout button should clear all sessions and send you to the root / path

Send email with info about the room

UX

  • Lets call this "Email room report"
  • This only appears for admin
  • Admin should manually write their email then hit "send"
  • If there are no prizes, disable this feature but let it appear on the UI so they know it's there
  • Upon hitting submit we send them an email

Email

  • Contains the date the room was created
  • Should list all prizes and who got them (name and email)
  • Say how many people participated in total

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.