An interactive Chinese A1 learning web app built with Vite, React, React Router, and Tailwind CSS.
- chapter and lesson-based learning flow
- pinyin map and tone practice interactions
- vocabulary composition and wordbook experience
- shared contract packages for future cross-layer reuse
- Frontend:
React 18,React Router 7 - Build tooling:
Vite 6 - Styling:
Tailwind CSS 4 - UI primitives:
Radix UI - Package manager:
pnpm
Node.js18+ (recommend latest LTS)pnpm10+
- Install dependencies:
pnpm install- Start local development:
pnpm dev- Open
http://localhost:8000.
pnpm dev- run local development serverpnpm build- build the apppnpm preview- preview the built app locally
Create .env.local when needed:
VITE_API_BASE_URL=- Empty value: use same-origin API requests.
- Non-empty value: use the provided API base URL.
chinese-new/
├─ src/ # frontend source code
├─ packages/ # shared contracts (`types`, `schemas`)
├─ scripts/ # maintenance and data scripts
├─ docs/ # project docs and collaboration docs
├─ guidelines/ # team and AI working guidelines
└─ package.json