A lightweight React + TypeScript boilerplate for conducting coding interviews.
- Node.js: v18 or higher
- Package Manager: yarn (v1.22+)
-
Install dependencies:
yarn
-
Start the development server:
yarn dev
-
Open in browser: The application will automatically open at
http://localhost:5173
- ⚛️ React 19 with TypeScript
- ⚡ Vite for fast development and hot module replacement
- 🎨 Lucide React icons
- 🔧 ES2024 support for modern JavaScript features
- 📦 Mock API utilities for data fetching exercises
src/
├── api/ # API client utilities
├── mocks/ # Mock data for exercises
├── App.tsx # Main application component
├── exercise.ts # Exercise workspace
├── index.tsx # Application entry point
└── style.css # Global styles
yarn dev- Start here! Starts development server with hot reload
For the coding session, you only need yarn dev. The commands below are optional:
yarn build- (Optional) Build for production and run TypeScript checksyarn preview- (Optional) Preview production build locally
- TypeScript: Strict mode enabled for type safety
- ES Target: ES2024 (supports modern features like
Object.groupBy()) - Module System: ESNext with bundler module resolution
- Hot Reload: Enabled via Vite HMR
The development server supports fast refresh, so changes appear instantly in the browser. TypeScript errors will appear both in your editor and in the terminal running the dev server.