Back to catalogue
Project

ACAIR Website
Public website for ACAIR built with React, TypeScript, and Vite: 17 pages including 6 programme pages, sharing the Express and MongoDB API with the student portal.
How it’s builtHow it’s built
ACAIR Website · Public website and student entry point for ACAIR (acair.edu.ng)
The ACAIR website presents the institute's programmes, publications, team and book catalogue, and is the entry point to the student portal. I built it in React and TypeScript with Vite, 17 pages including 6 programme pages, and compressed media to 27 WebP assets. The code started as a Lovable scaffold; I made 42 of the 46 commits on visionary-web-solutions.
- pages
- 17
- programme pages
- 6
- lines of TS/TSX/CSS in src
- 12,638
- commits by me on visionary-web-solutions
- 42 of 46
Technology and what it does here
- React 18 + TypeScript
- Site, programme pages and portal UI
- Vite 5
- Build tooling
- React Router 6
- Client-side routing for site and portal
- Tailwind + Radix UI (shadcn)
- Styling and accessible UI primitives
- TanStack Query
- Data fetching from the Express API
- Framer Motion
- Page and section animations
- Nginx
- SPA fallback via try_files for acair.edu.ng
- Vercel
- Hosts the visionary-web-solutions preview at acair.vercel.app
Implementation details
- Book covers moved to WebP and public/books renamed to public/book-covers to avoid an Nginx collision with the /books SPA route (commits df8ede9, a23f37b).
- PDF generation is code-split with dynamic import('jspdf') in Books.tsx and portal/Payments.tsx.
Technologies
- Next.js
- Node.js
- MongoDB
