SFV Website
Official website for the Vietnam Skating & Roller Federation: VFF-style news portal, competitions, results, rankings, CSV/Excel results import, Vietnamese/English, Directus admin, Docker deployment.
SFV Website is the website system for the Vietnam Skating & Roller Federation (SFV – Skating Federation of Vietnam): a sports news portal in the style of vff.org.vn, combined with competition, results and rankings management. The design follows the SFV logo (logo blue, flag red, yellow star), it is bilingual Vietnamese/English, and works well on desktop and mobile.
Editors and competition organizers update everything themselves in the Directus admin, no developer needed. The whole stack deploys with one Docker Compose command. Open source on GitHub.
Purpose
Until now the federation published news mostly on Facebook: old announcements were hard to find, there was no central fixture calendar, and results were scattered across photos and files. SFV Website brings it all into one official place: news, announcements, regulations, fixtures, results, rankings, athletes, clubs and documents, easy to search and share.
Key features
- VFF-style news portal: breaking-news ticker, featured and latest stories, “Most read”, categories for Activities, Announcements, Ice, Roller, International and Training; scheduled publishing.
- Real posts from Facebook: 7 real SFV posts imported with their original photos by a script.
- Competitions: calendar, regulations, events, start lists and results; filter by discipline, level, age group and province.
- Results & rankings by discipline, age group and gender; import results from CSV/Excel.
- Athlete profiles, national teams, clubs on a map, national records, documents, photo/video gallery, competition registration form.
- Bilingual VI/EN, responsive, optimised WebP images, favicon/app icons/share images from the logo.
- Roles: Administrator, Editor, Competition Organizer.
Competitions, results and rankings
Each competition has its own page with schedule, regulations, events and results tables. Organizers just export results to Excel or CSV (rank, athlete, birth year, time/score, age group, DNF/DNS/DSQ status) and import them; rankings are recalculated automatically.
On mobile
Content management
The Directus admin has clear roles: Editors write news and manage categories, banners, galleries and documents; Competition Organizers manage competitions, events, results, athletes, clubs and approve registrations; Administrators can do everything.
How to use
- Get the code:
git clone https://github.com/gooduselabs/sfv-website. - Create the config:
cp .env.example .env, set the admin password, DB password, secret andPUBLIC_HOST(LAN IP or domain). - Run:
docker compose up -d --build. An init service creates the schema, roles and sample data. - Open the site at
http://<PUBLIC_HOST>:3000and the admin athttp://<PUBLIC_HOST>:8055/admin. - Sign in to Directus to write news, create competitions and import results from CSV/Excel.
Tech stack
- Next.js 15 (App Router), TypeScript, Tailwind CSS 4, next-intl, MapLibre
- Directus 11 + a custom extension for rankings and results import
- PostgreSQL 17, Docker Compose
Status
A complete demo running on an internal network. Apart from the 7 real news posts and real contact details, athletes, results, clubs and sponsors are sample data labelled “Demo”.
Source code
Source, setup guide and screenshots are on GitHub: github.com/gooduselabs/sfv-website.