A lightweight, offline-capable single-page web app built for the Bloque Technical Test.
- ⚡️ Vite (Build tool)
- 🧬 Preact (Ultra-light React alternative)
- 🎨 Tailwind CSS v4 (Utility-first CSS)
- ⚙️ TypeScript (Strong typing)
- 🔌 PWA (Offline support via vite-plugin-pwa)
- ✅ Live leaderboard & market data
- ✅ Responsive design (mobile cards + desktop table)
- ✅ Pagination for large leaderboard
- ✅ Offline support with Service Worker + LocalStorage fallback
- ✅ PWA installable (Add to Home Screen)
- ✅ Tiny bundle (7.23 kB gzipped main file)
🔗 https://bloque-pwa-technical-challenge.vercel.app
| Metric | Result |
|---|---|
| Main JS (gzipped) | 7.23 kB ✅ |
| Total transferred | ~51.5 kB ✅ |
| Total resources | ~193 kB ✅ |
| Number of requests | 16 ✅ |
# Install dependencies
npm install
# Run in development
npm run dev
# Build for production
npm run build
# Preview production build
npx serve dist