Source code description

【Front desk function】

Mobile-first UI, bottom tab: Home / Lottery History / Lottery Live Broadcast / Trend Chart / More

Colorful switching: New Hong Kong Mark Six Lottery, Hong Kong Happy Eight, Hong Kong Mark Six Lottery (expandable)

Home page Banner carousel (backend configuration, empty data goes to the local bottom map)

The latest lottery area: 3D number ball + zodiac sign alignment + countdown to the next deadline

Historical lottery list: issue number search, paging, winning numbers and tags displayed together

Scratch mask (can be switched back to normal ball style)

Lottery style switching (number ball skin)

The skeleton of the live page/trend page can continue to be connected to real streaming media and chart data

【Backstage function】

Standalone admin (default port 5174)

Carousel chart CRUD: add, delete, modify, enable, disable, sort

Lottery-related configuration entry (please fill in all details based on your existing admin module)

Default login: admin / admin123 (be sure to change the password when going online)

【Interface and data】

/api/web/banners

Frontend pull carousel

Lottery list/latest issue/issue number query interface

Prisma Schema can directly change the library structure

SQLite works out of the box; the official environment can be replaced with PostgreSQL / MySQL

【Environmental requirements】

Node.js 18+/20+

Can be run locally on Windows / Linux / macOS

Recommendation: starting from 2 cores and 2G; official site starting from 2 cores and 4G

Port example: frontend 5173 / backend management 5174 / API 8787

Reverse proxy can use Nginx / Pagoda to point the three ends to the same domain name, different paths or subdomains

Source code screenshot

Notice: Unless otherwise stated, all content on this site is originally published here. Copying, scraping, or republishing it on any website, book, or other media without permission is prohibited. If any content infringes your rights, please contact us.