This is a Next.js project bootstrapped with create-next-app
.
This project is licensed under the GNU GPLv3.0 license.
Project is using yarn
for package management.
# install dependencies
yarn install
# run the development server
yarn dev
## -- or --
# build and start the server
yarn build
yarn start
Currently port is set to 5000
, go check http://localhost:5000
after running the server.
Two user control flows, one for participants and one for users.
Participants are able to:
Raffle participants are authenticated using the information requested by the raffle creator + IP address tracking & local storage (cookies).
Users are able to:
Participant Perspective
Scans the QR code -> winnerduck.com/raffle/[id]
Goes to winnerduck.com
and enters the raffle ID. Enter redirects to the raffle page.
Can see the title of the raffle, description, and the prize.
Fills the required information and joins the raffle.
Cannot see any information about the raffle after joining, only the winner name after the raffle ends.
User Perspective
Goes to the user panel: winnerduck.com/panel
Can see the list of raffles created, ready to be used.
Can start it and project it in the event: winnerduck.com/panel/raffle/[id]
Can see the list of previous raffles. Can click any previous raffle to see the details. Can download the information.
Can create a new raffle. Can set the start time, end time, duration, and the requested information.
God help us.