Please sign in to access this page
Tired of spinning up a whole new WordPress site or struggling with a clunky CMS just to add a blog to your company's website? DITBlogs is the solution.
DITBlogs is an API-first, multi-tenant blogging platform that provides the backend, a powerful editor, and the infrastructure you need. You simply connect it to your website via its API to create a seamless, beautifully integrated blog that matches your brand. It's built for teams, designed for performance, and focused on one thing: making your organization's content management a joy.
π― Who is it For?
DITBlogs is built for a modern workflow and is perfect for:
π’ Businesses & Startups who want to add a content marketing channel to their existing website without a complex technical overhaul.
βοΈ Content Teams that need a collaborative environment with different roles (Admins, Editors, Writers) to manage their content pipeline.
ποΈ Developers looking for a flexible, headless CMS that provides a clean API, robust authentication, and a solid foundation to build upon.
π Key Features
DITBlogs is packed with features designed for a professional content workflow:
π Headless Architecture: Use the secure API to fetch and display your posts on any frontend framework (Next.js, React, Vue, Svelte, etc.).
π’ Multi-Tenant Organizations: Each organization gets its own secure workspace. Users, posts, and analytics are all scoped to the organization.
π Role-Based Access Control (RBAC):
Org Admin: Manages members, settings, and has full content control.
Editor/Writer: Can create, edit, and publish any post within the organization.
β¨ Modern Block-Based Editor: A beautiful and intuitive writing experience powered by Tiptap, with support for rich text, images, code blocks, and more.
π§ Email Invitation System: Admins can easily invite new members to their organization via email, powered by Nodemailer.
π Scoped Analytics Dashboard: A beautiful, interactive dashboard (using Chart.js) that provides admins with key insights into their organization's content performance, including views, top posts, and top authors.
π Seamless User Onboarding: A multi-step, state-aware onboarding flow that intelligently guides new users based on their role, pending invitations, or application status.
π Secure by Design: All API endpoints are protected and context-aware, ensuring a user from one organization can never access the data of another.
No followers yet
Once you ship this you can't edit the description of the project, but you'll be able to add more devlogs and re-ship it as you add new features!
Combined WYI (stands for WhatsYour.Info) with DITBlogs for payments and billing managements on behalf of DITBlogs.
Added proper support for newsletters with cron job for auto sending of emails, without being spammy.
β
What I Built
Today, I shipped the first working version of DITBlogs, a multi-tenant, API-first blogging platform designed for businesses and content teams.
Here's what was implemented:
π§ Core Architecture
Multi-tenant org model (org-based user scoping, content isolation)
Robust authentication system (JWT + RBAC roles: Admin, Editor, Writer)
RESTful API routes for posts, users, orgs (scoped and secure)
Seamless onboarding: state-aware signup flow based on invite status, roles
π§βπΌ Organization Management
Admin-only email invitation system (Nodemailer integration)
Role-based permissions on UI + API
Org creation and switching with scoped sessions
βοΈ Blog Editor
Integrated Tiptap editor with support for:
Headings, bullet lists, images, code blocks, etc.
Auto-save draft support (local/session for now)
Clean, distraction-free writing interface
π Analytics Dashboard
Initial version with Chart.js showing:
Post views
Top-performing posts
Author-wise contribution
π‘ Why It Matters
Setting up a blog for your startup shouldnβt take 5 hours of fiddling with WordPress or headless CMS setup.
DITBlogs removes the friction and gives startups a clean, scalable, dev-friendly way to add a blog β with proper collaboration and analytics built in.
I wanted to build something that:
Doesnβt assume you want a full website β just the blog.
Doesnβt lock you into one frontend or stack.
Doesnβt require a CMS admin panel to be useful.
Just plug in the API, drop in the UI components (or build your own), and youβre ready to blog.
π οΈ Stack Used
Backend: Node.js, Express, Prisma, PostgreSQL
Auth: JWT, RBAC, hashed invites
Frontend: Next.js (App Router), Tiptap, TailwindCSS
Analytics: Chart.js (frontend), custom API (backend)
Infra: Railway (temp), will move to dedicated VPS
Dev Tools: Hackatime, Postman, GitHub
π
Next Up
π Public Org Blog API (for client consumption)
πΌοΈ OG Image generation per post (auto + custom)
π¬ Comments support (starting with static, maybe dynamic later)
π Scheduled publishing & post version history
β¨ Onboarding animation & skeleton states
π§ Key Learnings
Building a clean multi-tenant system early saves a ton of headache later.
Email invites + org scoping sounds simple⦠until you start layering RBAC and API permissions.
Tiptap is amazing, but has a steep learning curve with custom extensions β totally worth it though.