Skip to content

Dự án cá nhân kết hợp đam mê Pokemon và công nghệ web hiện đại. Xây dựng từ đầu với trải nghiệm game Pokemon hoàn chỉnh trên web. Data lấy từ PokeAPI. Since 20/04/2025

License

Notifications You must be signed in to change notification settings

AnPhuoc2410/Kiremon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

256 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎮 Kiremon - Pokemon Web Game

.NET 8.0 React PostgreSQL TypeScript

Ứng dụng web game Pokemon fullstack với .NET 8, React 19, SignalR - Clean Architecture & Modern Tech Stack

🎮 Live Demo🐛 Report Bug


🌟 Giới thiệu

Dự án cá nhân kết hợp đam mê Pokemon và công nghệ web hiện đại. Xây dựng từ đầu với trải nghiệm game Pokemon hoàn chỉnh trên web.

Highlights:

  • 🎯 Game Mechanics chân thực (IV, Nature, Shiny, Catch Rate)
  • 🔐 Authentication đa dạng (JWT, OAuth2, 2FA)
  • 🚀 Real-time với SignalR
  • 📊 Clean Architecture & SOLID principles

🎨 Screenshots

🏠 Home Page

Home Page Trang chủ với giao diện hiện đại, hiển thị Pokemon featured và navigation

🎮 Pokemon Catching

Catch Pokemon Hệ thống bắt Pokemon với animations và real-time feedback

📱 Pokemon Detail

Pokedex Thông tin với thông số chung

📊 Pokemon Stats

Stats Breed Move Chi tiết thông tin Pokemon: IV, Nature, moves, abilities

⚡ Evolution System

Evolution Evolution2 Evolution3 Pokemon evolution interface với điều kiện tiến hóa

👤 User Profile

Profile MyPoke User profile với Pokemon collection và stats


✨ Tính năng chính

Game Mechanics

  • Pokemon Catching với công thức chính thống
  • IV System (6 stats: 0-31), Nature System (25 types)
  • Shiny Pokemon (1/4096), Pokédex tracking
  • Stats calculation chính xác

Security

  • JWT + OAuth2 (Google, Facebook, Microsoft)
  • Two-Factor Authentication (TOTP)
  • reCAPTCHA v3, Rate Limiting
  • Email verification & password reset

Real-time

  • SignalR notifications
  • Live Pokemon catch updates
  • Event system

🛠 Tech Stack

Backend: .NET 8 • EF Core • PostgreSQL • SignalR • ASP.NET Identity • JWT

Frontend: React 19 • TypeScript • Vite • TailwindCSS • Radix UI • Axios

DevOps: Docker • Vercel • VPS • Nginx • Supabase


🏗 Architecture

Clean Architecture: Domain → Application → Infrastructure → Presentation

Deployment: Vercel (React) → VPS (Nginx + Docker) → Supabase (PostgreSQL)


🚀 Roadmap

✅ Completed: Pokemon catching, IV/Nature, Shiny, Pokédex, Authentication

🔄 In Progress: Battle System, Evolution, Trading, Breeding, Achievements

📋 Planned: PvP, Guild, Chat, Marketplace, Tournaments

💡 Future: PWA, Mobile App, Events, Weather System, Microservices


💻 Quick Start

# Clone & Setup
git clone https://github.com/AnPhuoc2410/Kiremon.git
cd Kiremon
cp env.production.example .env

# Docker
docker-compose -f docker-compose.dev.yml up --build

# Manual: Backend (localhost:7028) + Frontend (localhost:5173)
cd PokedexReactASP.Server && dotnet run
cd pokedexreactasp.client && npm install && npm run dev

🚢 Deployment

Frontend: Vercel (GitHub auto-deploy)

Backend: VPS + Docker + Nginx + SSL

Database: Supabase PostgreSQL

Chi tiết: DEPLOYMENT.md


🎯 Điểm nổi bật

Architecture

  • Clean Architecture, SOLID principles
  • Repository & Service patterns
  • Full type safety (TypeScript + C#)

Security

  • Multi-layer defense (JWT, 2FA, reCAPTCHA, Rate Limiting)
  • OAuth2/OpenID Connect
  • HTTPS, CSRF, SQL Injection prevention

Performance

  • Caching strategy (In-Memory, Redis-ready)
  • Database optimization
  • Code splitting, lazy loading

📚 Bài học từ dự án

Technical Skills:

  • Clean Architecture trong thực tế
  • JWT + OAuth2 + 2FA authentication
  • EF Core relationships & migrations
  • SignalR real-time communication
  • React 19 + TypeScript best practices
  • Docker containerization & VPS deployment

Challenges & Solutions:

  • PokeAPI data complexity → DTOs + caching
  • Multi-provider auth → ASP.NET Identity mapping
  • SignalR scaling → Connection tracking + Redis ready
  • Environment consistency → Docker

Improvements:

  • Viết tests từ đầu
  • Database design kỹ hơn (migrations rất painful)
  • Setup logging & monitoring sớm hơn
  • API versioning từ ngày 1

📄 License

MIT License - see LICENSE


📞 Contact

Phuoc An - Fullstack Developer

📧 an.phuoc2410@gmail.com • 🐙 @AnPhuoc2410


⭐ Star this repo if you find it helpful!

Made with ❤️ by Phuoc An

About

Dự án cá nhân kết hợp đam mê Pokemon và công nghệ web hiện đại. Xây dựng từ đầu với trải nghiệm game Pokemon hoàn chỉnh trên web. Data lấy từ PokeAPI. Since 20/04/2025

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors