Case for interviewing frontend developers
basic_interview_case/
├── backend/ # Express.js API server
├── frontend/ # React + TypeScript (Vite)
└── package.json # Root package with helper scripts
npm run install:allOr install individually:
npm install # Root dependencies
npm install --prefix backend
npm install --prefix frontendnpm run devnpm run dev:backend # Backend on port 5000
npm run dev:frontend # Frontend on port 5173npm run start:backend
npm run start:frontend- Port: 5000 (default)
- API Endpoints:
GET /api- Welcome messageGET /api/health- Health check
Copy .env.example to .env in the backend folder and configure as needed.
- Port: 5173 (Vite default)
- Template: React with TypeScript
- Build Tool: Vite
- Backend: Express.js, CORS, dotenv
- Frontend: React, TypeScript, Vite
- Dev Tools: Nodemon, Concurrently