This web application was used during KICC MaxOut 2024 for the exciting raffle session. It was built with ❤ and a focus on delivering a fun and engaging experience for all attendees.
The app displays raffle codes in a rotating manner, creating anticipation for the winners, complete with visual effects like confetti 🎉 to celebrate each draw.
- 🎰 Raffle Draw: Randomly picks a raffle code from the loaded list of codes.
- 🎉 Confetti Animation: Confetti effects to celebrate the winner.
- 📋 Code Upload: Allows users to upload a list of unique raffle codes.
- 🎲 Shuffling Animation: Each raffle code is presented with a shuffling effect before the final reveal.
- 💻 Responsive Design: Works seamlessly across desktop and mobile devices.
- Framework: Angular 16+
- UI Library: PrimeNG & Tailwind CSS
- Hosting: Netlify
- Node.js (v14+ recommended)
- Angular CLI
-
Clone the repository:
git clone https://github.com/Jordy-Kmf/maxout-raffle.git
-
Navigate to the project directory:
cd maxout-raffle
-
Install dependencies:
npm install
-
Start the development server:
ng serve
-
Open your browser and go to
http://localhost:4200
to view the app.
To build the app for production, run the following command:
ng build --configuration production
This will create a production-ready build in the dist/
folder.
The app is deployed on Netlify. To deploy the app manually, follow these steps:
-
Build the project:
ng build --configuration production
-
Deploy to Netlify: Drag and drop the contents of the
dist/maxout-raffle
folder into Netlify’s deployment interface or configure automatic deployments using a Git repository.
- Upload the list of unique raffle codes in the app.
- The app will shuffle through the codes and select one at random.
- Confetti will rain down to celebrate the lucky winner.
- Repeat for the next winner!
- Add support for customizable shuffle speeds.
- Introduce a countdown timer for each draw.
- Export the list of winners to a CSV file.
If you'd like to contribute to the app, feel free to fork the repository and submit a pull request. All contributions are welcome!