Skip to content

[codex] Add Docker casino skeleton#3

Draft
larsenevansdeveloper wants to merge 1 commit into
zeusbyte:mainfrom
larsenevansdeveloper:codex/docker-casino-skeleton
Draft

[codex] Add Docker casino skeleton#3
larsenevansdeveloper wants to merge 1 commit into
zeusbyte:mainfrom
larsenevansdeveloper:codex/docker-casino-skeleton

Conversation

@larsenevansdeveloper
Copy link
Copy Markdown

What changed

  • Added a clean Docker Compose casino skeleton with nginx, frontend, API, Postgres, and Redis.
  • Added a Vite React frontend with lobby, demo wallet, fake game round flow, and admin control room.
  • Added an Express fake casino API with seeded demo data, wallet ledger entries, signed provider callbacks, idempotent provider events, rollback protection, admin endpoints, and audit logs.
  • Added Docker/nginx config, env examples, ignore rules, and usage documentation.
  • Stabilized the existing AdminLTE preview lint/runtime issues and added lock files for reproducible setup.

Why

The upstream public repository is only a preview and lacks the full Laravel casino app, database dump, installer, and websocket backend. This adds a separate runnable foundation that can evolve independently without depending on the incomplete preview tree.

Validation

  • npm run check in apps/api
  • npm audit --audit-level=moderate in apps/api
  • npm run build in apps/frontend
  • npm audit --audit-level=moderate in apps/frontend
  • docker compose config
  • docker compose build
  • docker compose up -d
  • curl -fsS http://localhost:8080/health
  • curl -fsS http://localhost:8080/api/health
  • curl -fsS -H "X-Admin-Token: dev-admin-token" http://localhost:8080/api/admin/dashboard
  • php -l over available PHP files
  • composer validate --strict in back
  • npx grunt jshint in back

Notes

This is development-only scaffolding. Real-money use still needs licensing, certified game/provider integrations, KYC/AML, secure auth, production secrets, monitoring, and legal review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants