Codex
Official website for the CODEX technology club at ENSA Khouribga — presenting the club, its activities, and tech events.

Overview
Codex is the official digital presence for the CODEX technology club at ENSA Khouribga. The site serves as both a public-facing showcase of the club's mission, events, and member projects, and an internal tool for managing event registrations and member communications. Built with Next.js and tRPC for type-safe data fetching, the site features a dynamic events calendar, member spotlights, a gallery of past events, and a registration system for upcoming workshops and hackathons.
Architecture
Next.js App Router with tRPC API layer for type-safe server communication. Content managed through a headless CMS for non-technical club members to update events and posts. Deployed on Vercel with ISR (Incremental Static Regeneration) for fast page loads while keeping content fresh.
Engineering Challenges
- 1Designing a CMS-driven content model flexible enough for different event types (workshops, hackathons, talks) while keeping the editing experience simple for non-technical club officers.
- 2Building an event registration flow with capacity limits, waitlists, and automated confirmation emails.
- 3Optimizing image-heavy gallery pages for performance — implementing lazy loading, responsive image sizes, and blur placeholders.