Go to file
Kirubel-Kibru-Yaltopia 89440985f1
Some checks failed
Deploy to Cloudflare Workers / deploy (push) Has been cancelled
x
2026-05-24 21:46:10 +03:00
.cursor x 2026-05-24 21:46:10 +03:00
.github/workflows x 2026-05-24 21:46:10 +03:00
actions x 2026-05-24 21:46:10 +03:00
app x 2026-05-24 21:46:10 +03:00
components x 2026-05-24 21:46:10 +03:00
docs x 2026-05-24 21:46:10 +03:00
lib x 2026-05-24 21:46:10 +03:00
public x 2026-05-24 21:46:10 +03:00
scripts x 2026-05-24 21:46:10 +03:00
supabase x 2026-05-24 21:46:10 +03:00
.dev.vars.example x 2026-05-24 21:46:10 +03:00
.env.local.example x 2026-05-24 21:46:10 +03:00
.gitattributes x 2026-05-24 21:46:10 +03:00
.gitignore x 2026-05-24 21:46:10 +03:00
components.json x 2026-05-24 21:46:10 +03:00
eslint.config.mjs x 2026-05-24 21:46:10 +03:00
middleware.ts x 2026-05-24 21:46:10 +03:00
next.config.ts x 2026-05-24 21:46:10 +03:00
open-next.config.ts x 2026-05-24 21:46:10 +03:00
package-lock.json x 2026-05-24 21:46:10 +03:00
package.json x 2026-05-24 21:46:10 +03:00
postcss.config.mjs x 2026-05-24 21:46:10 +03:00
README.md first commit 2026-05-24 21:45:40 +03:00
tsconfig.json x 2026-05-24 21:46:10 +03:00
wrangler.jsonc x 2026-05-24 21:46:10 +03:00

Yaltopia FIFA

FIFA tournament platform by Yaltopia Tech — leagues, cups, fixtures, standings, and team management.

Stack

  • Next.js 15 (App Router) + TypeScript
  • Supabase (Auth, Postgres, RLS)
  • Tailwind CSS 4 + shadcn/ui
  • Cloudflare deploy via OpenNext (@opennextjs/cloudflare)

Portals

Portal Login Home
Team Manager (public) /login/manager /manager
League Master (hidden) /login/master /master

See docs/LEAGUE_MASTER_ACCESS.md for master URLs and signup notes.

Quick start

npm install
cp .env.example .env.local   # if present; otherwise create .env.local
npm run dev

.env.local (minimum):

NEXT_PUBLIC_SUPABASE_URL=https://YOUR_REF.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=eyJ...

Optional (dev signup / admin tools):

SUPABASE_SERVICE_ROLE_KEY=eyJ...
SUPABASE_AUTO_CONFIRM_EMAIL=true

Apply database migrations:

npm run db:push

Open http://localhost:3000.

Scripts

Command Description
npm run dev Local dev server
npm run build Production build
npm run db:push Push Supabase migrations
npm run deploy Build + deploy to Cloudflare
npm run auth:reset-password -- email pass Dev password reset (service role)

Docs

License

Private — Yaltopia Tech.