0xHouss.
Back to projects

Web Development

Decode Hack

The website and registration form of Decode Hack, an online hackathon for beginners organized by my section at USTHB. I built it alone, from the landing page and the four-step form down to the database and the Discord notifications, then came back a year later to turn it into an archive of the event.

Role
Sole developer
Period
July 2025 – October 2026
Context
Hackathon organized by my section at USTHB

Overview

Decode Hack was a three-day online hackathon, held from July 31 to August 3, 2025, that my section at USTHB organized to introduce beginners to IT through a real-world problem: ecology. It needed a site that presented the event and took registrations until a fixed deadline. I built it on my own in under two weeks, from the landing page down to the database, the Discord notifications and the export the organizers used to review applicants. In October 2026 I came back to turn it into an archive of the edition, add motion and tests, and fix the validation bugs I found along the way.

What I built

  • The landing page: an About and a Vision & Mission section, sponsor logos that open a description on hover, a FAQ laid out as a bento grid, and a splash animation that plays once per visit.
  • A four-step registration form, one page per step, that saves its answers in the browser so a reload or the Back button never loses them, and sends you back to the first step you haven't finished.
  • Validation rules shared by the form and the server: only dates that exist, 10-digit phone numbers, profile links that must point to GitHub, LinkedIn or Behance, and a follow-up asking which hackathons you've done that appears, and becomes required, only if you've done one.
  • A server action that closes registration by itself at the deadline, saves each registration to PostgreSQL through Prisma, then posts it to the organizers' Discord channel, without failing a registration that is already saved when Discord doesn't answer.
  • A script that exports every registration to CSV for the organizers, guarded against spreadsheet formulas typed into the form.
  • After the event, the home page became an archive of the edition, with a wrap-up section in place of the countdown, along with entrance and scroll-reveal animations that work in Firefox and stay still for visitors who prefer reduced motion.
  • Unit tests with Vitest for the dates and validation rules, and a GitHub Actions workflow that lints, tests and builds every change.

Tech stack

TypeScriptReactNext.jsTailwind CSSRadix UIReact Hook FormZodZustandPrismaPostgreSQLLottieVitestGitHub Actions

Screenshots

The home page

Want something like this built?

Tell me what you have in mind, even if it is still a rough idea.

Get in touch
Next projectShellmates MRB