This repository contains the website for Hội Thánh Tin Lành Thủ Đức. It is built with Next.js and hosted on Vercel.
The original website was built with WordPress. Its posts and media have been migrated into this repository, with the WordPress content treated as the canonical source during migration.
- Next.js 16 with the App Router
- React 19
- TypeScript
- Tailwind CSS 4
- MDX with
next-mdx-remote - Vercel hosting
- Node.js 20.9 or later
- npm
Clone the repository and install its dependencies:
git clone git@github.com:tatthien/httltd.git
cd httltd
npm installNo environment variables are currently required for local development.
Start the local development server:
npm run devOpen http://localhost:3000 in a browser. Changes to application files and MDX posts are reflected automatically during development.
Posts are stored as MDX files in content/posts. Each post contains YAML frontmatter for metadata such as its title, publication date, author, category, excerpt, and featured image.
Post images are stored in public/images/posts. Paths referenced from MDX should begin with /images/posts/.
The dynamic post and category routes are located at:
src/app/bai-viet/[slug]/page.tsxsrc/app/category/[slug]/page.tsx
| Command | Description |
|---|---|
npm run dev |
Start the development server |
npm run build |
Create a production build |
npm run start |
Run the production build locally |
npm run lint |
Run ESLint |
The website is hosted on Vercel. Vercel builds the application with npm run build.
Before deploying, verify the project locally:
npm run lint
npm run buildWhen the Vercel project is connected to this GitHub repository, pushes to its configured production branch trigger a new deployment.
