
router
TanStack Router is a type-safe, data-driven React router with built-in caching, prefetching, and nested layouts, while TanStack Start extends it into a full-stack SSR framework.
该项目提供了完整的容器化本地设置,用于实时多人游戏,采用现代工具(Node 22、pnpm、Docker、WebSocket、Next.js),并附有清晰的步骤说明和截图。
Proyecto creado por Damián Catanzaro.
El dump inicial del juego esta en database/aoweb.sql.
Desde la carpeta padre del proyecto:
docker run --name aoweb-postgres \
-e POSTGRES_DB=aoweb \
-e POSTGRES_USER=postgres \
-e POSTGRES_PASSWORD=postgres \
-p 127.0.0.1:5432:5432 \
-d postgres:18-alpine
Restaurar la base:
docker exec -i aoweb-postgres psql -U postgres -d aoweb < database/aoweb.sql
La URL local para la API queda:
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/aoweb
Crear api/.env tomando como base api/.env.example:
PORT=3001
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/aoweb
TOKEN_AUTH=changeme
CORS_ORIGIN=http://localhost:3000
Instalar dependencias y levantar en desarrollo:
cd api
pnpm install
pnpm dev
La API queda en http://localhost:3001.
En otra terminal, crear server/.env tomando como base server/.env.example:
NODE_ENV=development
AOWEB_TEST_MODE=false
INITIAL_ONLINE_RECORD=0
PORT=7666
API_BASE_URL=http://127.0.0.1:3001
RESET_CONNECTED_CHARACTERS_ON_STARTUP=false
TOKEN_AUTH=changeme
Instalar dependencias y levantar:
cd server
pnpm install
pnpm dev
El server WebSocket queda en ws://localhost:7666.
En otra terminal, crear frontend/.env.local tomando como base frontend/.env.example:
NEXT_PUBLIC_API_BASE_URL=http://localhost:3001
API_BASE_URL=http://localhost:3001
TOKEN_AUTH=changeme
NEXT_PUBLIC_WS_URL=ws://localhost:7666
Instalar dependencias y levantar:
cd frontend
pnpm install
pnpm dev
Abrir http://localhost:3000.
根据分类、Topic 和编程语言匹配的相似项目。

TanStack Router is a type-safe, data-driven React router with built-in caching, prefetching, and nested layouts, while TanStack Start extends it into a full-stack SSR framework.
scriptc compiles ordinary TypeScript into small, fast native executables without needing Node.js, V8, or any JavaScript runtime in the binary.
A React component library that renders six hand-tuned animated thought orb loading indicators on a plain 2D canvas, with two purpose-tuned sizes and automatic theme detection for AI and agent UIs.