An interactive React + Vite + TypeScript project that demonstrates solutions to a series of algorithmic and logical challenges. The main page serves as a visual dashboard, where each section is clickable and opens a modal with either:
- A code solution (with syntax highlighting), or
- An interactive demo (like Zeno’s Paradox of Achilles and the Tortoise).
git clone https://github.com/luccasmtxr/metrobi-flex-app.git
cd metrobi-flex-app
Make sure you have Node.js 22 installed, then run:
npm install
npm run dev
Open your browser at http://localhost:5173 to see the app running.
You can also build and run this app inside a Docker container.
docker build -t metrobi-flex-app .
docker run -p 3000:3000 metrobi-flex-app
docker ps
docker stop <container_id>
The main page is structured like a grid of sections:
- Header
- Hero
- Sidebar
- Main Content
- Extra Content
- Related Images
- Related Posts
- Footer
Each section besides the header and the footer is clickable and opens a modal:
- Code Questions → display the problem description and a syntax-highlighted solution.
- Interactive Questions → display live demos (e.g., Zeno’s Paradox animation).
This makes the app a self-contained, interactive solution showcase.
- React 19
- Vite (TypeScript + SWC)
- Lucide Icons (UI icons like close and copy)
- react-syntax-highlighter (for pretty code blocks)
- CSS Flexbox (for layout)
npm run dev
→ start local dev servernpm run build
→ build for productionnpm run preview
→ preview built appnpm run prettier:check
→ run Prettier validationnpm run prettier:write
→ run Prettier format