Skip to content

Repository files navigation

Dou Dizhu - Monorepo

This is a Monorepo project for the Dou Dizhu (斗地主 / Fight the Landlord) card game, structured for frontend/backend separation.

📁 Project Structure

doudizhu/
├── frontend/          # React + TypeScript frontend
│   ├── src/          # Source code
│   ├── public/       # Static assets
│   └── ...           # Config files
├── backend/          # Future backend (Node.js/Express)
├── docs/             # Technical documentation
├── task.md           # Project task tracking
└── README.md         # This file

🚀 Quick Start

Frontend Development

cd frontend
npm install    # First time only
npm run dev    # Start dev server

The frontend will be available at http://localhost:5173

Backend Development

cd backend
npm install
npm run start:dev

See backend/README.md for detailed setup and API documentation.

📚 Documentation

🏗 Tech Stack

Frontend

  • React 19, TypeScript, Vite
  • Tailwind CSS, Framer Motion

Backend

  • NestJS (Node.js)
  • Socket.io (WebSocket)
  • Redis (State Persistence)
  • MySQL (User Data)

📝 Development Workflow

Task Tracking

See task.md for detailed task breakdown and progress tracking.

Testing

cd frontend
npm test        # Run all tests
npm run test:ui # Open Vitest UI

Building

cd frontend
npm run build   # Production build

📄 License

MIT License - See LICENSE for details

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages