Please sign in to access this page

DITBlogs - The Effortless Blogging Platform for Your Business

DITBlogs - The Effortless Blogging Platform for Your Business Used AI

5 devlogs
18h 22m
Created by Utkarsh Kumar

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.

Timeline

Combined WYI (stands for WhatsYour.Info) with DITBlogs for payments and billing managements on behalf of DITBlogs.

Added proper categories and tags managment through dashboard.

Update attachment

Added proper inputs for both categories selection and tags addition to blog posts.

Update attachment

Added proper support for newsletters with cron job for auto sending of emails, without being spammy.

Update attachment

βœ… 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.

Update attachment