I’m building Meith: forum software with a modern stack
Описание и применение
Meith — это самодостаточная, открытая платформа форума, построенная на TypeScript, Next.js, React и PostgreSQL, с чётким разделением бизнес‑логики и инфраструктуры, позволяющая легко тестировать, расширять и поддерживать сообщество в течение многих лет.
Задача
Community owners need a self‑hosted forum that remains maintainable over years, with clear separation of business logic, permissions, caching, and extensibility.
Результат
Meith delivers a maintainable forum foundation with clear separation of concerns, robust permission and caching strategies, and extensibility through themes and plugins, all while remaining self‑hosted and free.
Рабочий процесс
- 1. User submits a request via a Next.js route or server action.
- 2. Input is validated and the request is authorized.
- 3. A domain service processes the business logic.
- 4. The service persists data through a repository implementation.
- 5. A public view model is prepared.
- 6. Affected caches are invalidated and the response is returned.
Доказательства
Meith is an open‑source, self‑hosted forum platform I’m working on.
The stack is TypeScript, Next.js, React and PostgreSQL, with Drizzle handling the database layer.
Features such as accounts, threads, posts and moderation live in separate packages, with explicit boundaries between the forum’s business rules and the infrastructure running them.
The request flow looks roughly like this: Route or server action → validate input and authorise the request → call a domain service → persist through a repository implementation → prepare the public view model → invalidate affected caches and respond
PostgreSQL does a substantial amount of the infrastructure work. Alongside the content, it holds sessions, full‑text search data, queues and scheduled task state.
- Дата записи: 2026-10-22T13:11:36.655Z