Tollab Nation

Date

March 2026 - Present

Service

Web & Product Development

Client

Personal Project

Stack

JavaScriptTypeScriptNode.jsNext.jsPostgreSQLPrismaReact/ React NativeTailwind CSSTipTapAuth.jsResendNeonVercel
View site
Tollab Nation

Overview

Tollab Nation is the website of the news and trends community for Lebanese youth that I co-founded back in 2019. The community has about 35K followers on its WhatsApp channel and 55K on Instagram. The site covers Lebanon and the region in Arabic and English. It has a live desk for breaking news and a newsroom for publishing. I first built the platform in March 2026. In November 2026 I rebuilt it around the Tollab Nation brand, with an app-style mobile experience and automated publishing from the WhatsApp channel. I did all of it myself: product design, database, backend, newsroom CMS, public UI, security and deployment.

Key Features

  • WhatsApp auto-posting: A listener runs as a linked device on a number that follows the channel. Each new post is sent to an authenticated endpoint on the site and goes live as an update (in Live Desk). It only publishes posts in both Arabic and English, skips videos, and never posts the same thing twice. If it misses a live event, a polling fallback picks the post up.

  • Live desk: Breaking and regular updates show in a timeline and a scrolling ticker. They can be edited or switched to breaking from the newsroom.

  • Bilingual articles: Headlines in Arabic and English, verified author bylines, reading progress and sharing.

  • App-style mobile: A bottom liquid glass style tab bar (Home, Live, Saved, Search, Menu), save-for-later stored on the device, and swipeable section rails. It’s also a PWA you can add to your home screen.

  • Newsroom: An admin console with a rich-text editor with live preview, author management, drafts and featured stories. An ad manager handles manual ads or AdSense across three placements. A dashboard shows views and ad clicks over time.

  • SEO and sharing: Dynamic metadata, Open Graph and Twitter cards sized for large WhatsApp link previews, and JSON-LD.

Architecture

Next.js route groups keep the public site separate from the protected /admin newsroom. The data layer is split into read queries and write actions, and Server Actions handle mutations. Public pages use ISR. Admin actions and the login are locked down. The WhatsApp listener is a separate Node service on a VPS, managed by pm2, and it talks to the site over a shared-secret endpoint.

Database

Prisma 6 on PostgreSQL (Neon) holds articles, nine sections, authors, live updates, and ads with per-article placement. Indexes cover publishedAt, categoryId and authorId. Every Vercel build applies migrations over a direct connection, so a fresh database sets itself up on the first deploy.

UI

The brand uses the Graduation Cap mark, a TOLLAB / NATION wordmark in Big Shoulders Display, and an Ink / Red / Paper palette. The front page has a lead story, live desk, latest stories, most read and section blocks. Light and dark themes share the same black masthead. Animations use CSS scroll-driven motion and respect reduced-motion settings.