KembaliArsip / superapp-life / learn-arab
superapp-life
learn-arab
587 file ยท 4.9 MB
Sistem informasi live โ learn-arab.vercel.appBuka di tab baru
README
LearnChina v2.0 ๐
A comprehensive, modern Chinese language learning platform built with React, TypeScript, and Tailwind CSS. Inspired by Duolingo but designed specifically for Mandarin Chinese with advanced features.
โจ Features
๐ฏ Core Learning
- 15 Structured Units covering Basics to Advanced Grammar
- Interactive Lessons with multiple question types
- Progressive Difficulty from HSK 1 to HSK 6
- Smart Review System based on spaced repetition
๐ฎ Gamification
- XP System - Earn experience points for completing lessons
- Daily Streaks - Maintain consecutive learning days
- Gems Currency - Earn and spend gems in the shop
- Hearts System - Limited lives that encourage careful learning
- Achievements - Unlock rewards for milestones
- Leaderboards - Compete with friends
๐ Practice Modes
- Character Writing - Canvas-based stroke order practice
- Tone Practice - Master the 4 tones of Mandarin
- Listening Lab - Audio comprehension exercises
- Dialogue Practice - Real-world conversation scenarios
- HSK Mock Exams - Practice tests for all HSK levels
๐ Learning Resources
- Complete Pinyin Chart - All syllable combinations
- Grammar Library - Comprehensive grammar explanations
- Vocabulary Flashcards - HSK 1-6 word lists
- Reading Passages - Leveled reading materials
- Cultural Content - Learn about Chinese culture
๐จ User Experience
- Dark Mode - Easy on the eyes for night learning
- PWA Support - Install as a mobile app
- Offline Support - Learn without internet connection
- Responsive Design - Works on all devices
- Smooth Animations - Framer Motion powered transitions
๐ Live Demo
๐ฆ Quick Start
npm install
npm run dev
See QUICK_START.md for detailed instructions.
๐ Documentation
| Document | Purpose |
|---|---|
| QUICK_START.md | Get started in 5 minutes |
| DEPLOYMENT.md | Deploy to production |
| CONTRIBUTING.md | Contribution guidelines |
| PROJECT_SUMMARY.md | Detailed project info |
| CHANGELOG.md | Version history |
| SECURITY.md | Security policy |
๐ ๏ธ Tech Stack
Prerequisites
- Node.js 18+
- npm or yarn
Installation
- Clone the repository
git clone https://github.com/yourusername/learnchina.git
cd learnchina
- Install dependencies
npm install
- Start development server
npm run dev
- Open http://localhost:5173 in your browser
Build for Production
npm run build
๐ Project Structure
learnchina/
โโโ src/
โ โโโ components/ # React components
โ โ โโโ layout/ # Layout components (Header, Sidebar)
โ โ โโโ common/ # Common components (Loading, etc.)
โ โ โโโ learning/ # Learning-specific components
โ โโโ pages/ # Page components
โ โโโ store/ # Zustand state management
โ โโโ data/ # Static data (HSK, grammar, etc.)
โ โโโ types/ # TypeScript types
โ โโโ hooks/ # Custom React hooks
โ โโโ utils/ # Utility functions
โ โโโ services/ # API services
โโโ public/ # Static assets
โโโ index.html
โโโ package.json
โโโ tsconfig.json
โโโ vite.config.ts
โโโ tailwind.config.js
๐ ๏ธ Tech Stack
- Framework: React 18 with TypeScript
- Build Tool: Vite
- Styling: Tailwind CSS
- State Management: Zustand
- Animations: Framer Motion
- Icons: Lucide React
- Data Fetching: React Query
- PWA: Vite PWA Plugin
๐ฑ PWA Installation
iOS (Safari)
- Open the website in Safari
- Tap the Share button
- Select "Add to Home Screen"
Android (Chrome)
- Open the website in Chrome
- Tap the menu (3 dots)
- Select "Add to Home Screen"
Desktop (Chrome/Edge)
- Look for the install icon in the address bar
- Click "Install LearnChina"
๐ Key Features Explained
Spaced Repetition System (SRS)
Words are reviewed at increasing intervals based on your performance, optimizing long-term retention.
Character Writing Practice
Canvas-based practice with stroke order visualization and feedback.
Tone Recognition
Audio-based exercises to train your ear for the 4 tones of Mandarin.
HSK Integration
Complete vocabulary and practice tests for HSK levels 1-6.
๐ค Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
๐ License
This project is licensed under the MIT License.
๐ Acknowledgments
- Fonts: Google Fonts (Nunito, Noto Sans SC)
- Design inspired by Duolingo
- Chinese character data from various open sources
Start your Chinese learning journey today! ๅ ๆฒน! ๐จ๐ณ
File Utama
- .env.example
- .eslintrc.cjs
- .gitignore
- .npmrc
- CHANGELOG.md
- CLOUD_ARCHITECTURE.md
- CLOUD_SYNC_SUMMARY.md
- COMPLETION_SUMMARY.md