KembaliArsip / superapp-life / learn-japan
superapp-life

learn-japan

373 file ยท 3.7 MB

Sistem informasi live โ€” learn-japan-psi.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.

Version React TypeScript Tailwind Tests Build License

โœจ 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

Try LearnChina Now โ†’

๐Ÿ“ฆ Quick Start

npm install
npm run dev

See QUICK_START.md for detailed instructions.

๐Ÿ“š Documentation

DocumentPurpose
QUICK_START.mdGet started in 5 minutes
DEPLOYMENT.mdDeploy to production
CONTRIBUTING.mdContribution guidelines
PROJECT_SUMMARY.mdDetailed project info
CHANGELOG.mdVersion history
SECURITY.mdSecurity policy

๐Ÿ› ๏ธ Tech Stack

Prerequisites

  • Node.js 18+
  • npm or yarn

Installation

  1. Clone the repository
git clone https://github.com/yourusername/learnchina.git
cd learnchina
  1. Install dependencies
npm install
  1. Start development server
npm run dev
  1. 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)

  1. Open the website in Safari
  2. Tap the Share button
  3. Select "Add to Home Screen"

Android (Chrome)

  1. Open the website in Chrome
  2. Tap the menu (3 dots)
  3. Select "Add to Home Screen"

Desktop (Chrome/Edge)

  1. Look for the install icon in the address bar
  2. 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