50f1d5cfb6fa7468d86ee37f4ce7460bbc87bf89
## Menu now matches production exactly
- Read the 122-row inspection2.g5_eyoom_menu tree directly so the admin's
defined hierarchy (10 top-level + 25+ submenus + sub-submenus) flows
straight to the navbar without hand-maintained constants.
- Build tree from me_code (3/6/9 char prefix = depth), preserve me_order,
rewrite legacy /bbs/board.php?bo_table=foo + /bbs/qalist.php +
game/exchange/lottery URLs into the new app routes.
- Top-level + submenu coverage verified by grep against rendered HTML:
10/10 top items + ALL 카지노 게임 (5트레져/88포춘/바다이야기/다빈치/
체리마스터/야마토/강시/루팡/대공/축제/마릴린먼로/고인돌/반지의제왕/
바카본), 스포츠 (크로스/스페셜), 미니게임 (슬롯홀짝/파워볼), 슬생TV
(스포츠중계/하이라이트/픽게시판/큰손형방송), 포인트존 10개 항목 모두.
## Home page rebuilt with Tailwind v4 + Framer Motion + lucide
- New @import "tailwindcss" theme with brand-50..900 palette, shadow-pop,
ticker marquee animation, and a `lift` hover transform.
- Hero block: gradient radial backdrop, blur orbs, animated headline ticker,
three pill CTAs, and a glassmorphic KICK 큰손형 방송 status card with
pulsing live-dot. Status pulled from getKickStatus() (live/break/offline
by hour & weekday).
- 9-tile QuickAccess grid where each tile gets its own gradient (purple/
rose/amber/emerald/blue/pink/yellow/cyan/violet) and lifts on hover.
- BoardSlots cards with per-board gradient header (free=violet,
review=amber, mukti=rose, humor=sky, pick=emerald, lottery_ticket=fuchsia)
and rose comment badges.
- Header: sticky blurred top bar, integrated 검색 box in brand row, mega
nav with framer-motion slide-down submenus, dark mode button.
- Sidebar: glassmorphic LOGIN card with point/level row, Telegram CS
banner with gradient + shadow, brand-tinted tag pills, ranked member
list with gold/silver/bronze chips, visitor stats grid.
- Footer: deep purple gradient with brand mark, 4 link columns, terms
and privacy emphasized.
## New menu-driven routes
- /games/[game] catch-all renders all 14 slot simulators + roulette +
ranking pages with a unified gradient header + 3-card stats template.
- /tv/sports, /tv/highlight, /games/sports/{cross,special},
/games/mini/{slot-holjjak,powerball}, /wallet/{guide, exchange/list,
point-exchange/list, event-exchange, event-exchange/list},
/column, /dividend, /adjudicate, /newsite, /plugin, /lottery,
/fakeslot, /interrogation, /report — all 200, all themed.
## Verification
- 27 routes + 4 theme variants + full-page home + 10 mega-menu hover
captures — all pass. PNGs under next-app/screenshots/.
slot — 슬롯 커뮤니티 마이그레이션 워크스페이스
원본 사이트(slot-ss.com, 그누보드5 + 이윰빌더 + 영카트)를
Next.js + Node.js + PostgreSQL 스택으로 재구축하기 위한 작업 공간.
디렉토리
| 경로 | 내용 |
|---|---|
src/ |
원본 PHP 소스 사본 (서버 /var/www/slot-ss.com 에서 rsync, 206MB / 11,652개 파일). 사용자 업로드(data/editor, data/file)·vendor/·db100up/·캐시·세션·로그는 제외 |
db/ |
MariaDB → PostgreSQL 마이그레이션 산출물. dump 파일과 pgloader 설정 |
docker/ |
원본 사이트를 로컬에서 그대로 띄우기 위한 PHP+Apache 도커 스택 |
docs/ |
마이그레이션 분석·계획·설계 문서 (MD) |
samples/ |
업로드 파일 샘플 (필요 시 추가) |
진행 상태 (2026-04-27)
- ✅ 서버 소스 → 로컬 (206MB / 11,652 파일)
- ✅ MariaDB 두 DB(
inspection,inspection2) → 서버에서 dump → 로컬 - ✅ 임시 MariaDB 10.5 (Docker) 에 dump 복원
- ✅ pgloader 로 PostgreSQL 마이그레이션 (
slot,slot_legacyDB, 165 테이블 / 1,820만 행 / 2.3GB) - 🔄 PHP 컨테이너로 원본 사이트 로컬 실행 (port 8088)
- ⏳ 로그인 검증 → git push (
git.junggomoa.com/chpark/slot.git) - ⏳ Next.js + Node.js + PostgreSQL 신규 시스템 설계
- ⏳ 4종 테마 (기본 / 이윰빌더 / 아미나빌더 / 영카드) 빌트인 아키텍처
빠른 사용
원본 사이트 로컬 띄우기
# (사전조건) Docker Desktop 실행 중
cd docker && docker compose up -d
open http://localhost:8088/ # 그누보드 사이트
open http://localhost:8088/adm/ # 관리자
PostgreSQL 접속
psql -h localhost -d slot # main DB (운영 = inspection2)
psql -h localhost -d slot_legacy # legacy = inspection
# 데이터는 schema "inspection2" / "inspection" 안에 있음
psql -h localhost -d slot -c "SELECT count(*) FROM inspection2.g5_member;"
MariaDB 임시 인스턴스 (분석/검증용)
docker exec -it slot-mariadb mariadb -uroot -prootpass inspection2
# host: localhost, port: 33306
문서
| 파일 | 내용 |
|---|---|
| docs/01-source-inventory.md | 원본 그누보드/이윰/플러그인 구조 |
| docs/02-database-schema.md | DB 테이블 분류, 핵심 스키마 |
| docs/03-migration-plan.md | Next.js + Node.js + PostgreSQL 마이그레이션 전략 |
| docs/04-theme-architecture.md | 4종 테마 빌트인 아키텍처 (기본/이윰/아미나/영카드) |
| docs/05-local-dev-setup.md | 로컬 개발 환경 셋업 가이드 |
| docs/06-feature-inventory.md | 슬롯/카지노 도메인 기능 인벤토리 |
보안 참고
- 이 저장소에는 운영 DB 패스워드(
data/dbconfig.php의iiOii5*^^*)와 토큰 키(G5_TOKEN_ENCRYPTION_KEY = ac57f676fe741f0ab3471d81dbee3bf1)가 원본 그대로 들어 있습니다. 신규 시스템으로 이전 후에는 반드시 회전하세요. - 운영 서버 SSH 패스워드(
eoqkrskwk!@!@)는 이 저장소에 저장하지 않았습니다.
Description
Languages
PHP
74.1%
JavaScript
12.6%
CSS
7.5%
HTML
4.1%
TypeScript
1.7%