BlogNest

A full-stack blogging platform with a rich text editor, AI drafts and summaries, and an automatic content check before posts go public.

Live siteSource code

React 

TypeScript 

Vite 

Tiptap 

Zustand 

Express.js 

PostgreSQL 

Prisma 

Zod 

Tailwind CSS 

BlogNest

Overview

BlogNest is a blogging platform where people write, publish and discover stories. Anyone can read without an account. Writers sign in with email or Google, write in a rich text editor, and can ask AI for help when the page is blank.

The frontend is React 19 with Vite, Tailwind CSS 4, React Router and Zustand, hosted on Vercel. The backend is an Express 5 API that stores everything in PostgreSQL through Prisma, validates input with Zod, and runs on Render.

Writing and reading

The editor is built on Tiptap and handles headings, quotes, lists, links, images and code blocks. Drafts stay private until they're published, and published stories can still be edited.

Readers can search, filter by topic, sort by latest or most liked, and like, share or report a story.

The BlogNest editor with an AI draft button
The editor, with a first draft written by AI from the story's title.

AI that stays optional

AI is there when someone asks for it. It can write a first draft from a title, give readers a short summary of a long story, and check every post before it goes public.

All of it goes through the OpenAI SDK, pointed at any compatible provider: Groq by default, or Gemini, OpenRouter, OpenAI or a local Ollama model. With no API key at all the site still works. The AI buttons say they aren't set up, and posts publish without the check.

A published BlogNest story with a Summarize button
A published story. The Summarize button opens a short AI summary.

Moderation and security

Readers can report posts. Admins review reports and can suspend accounts from a moderation dashboard.

Post HTML is sanitized when it's saved and again when it's shown, so scripts inside a post never run. Google sign-in tokens are verified on the server, sessions expire after seven days, sign-in has a Cloudflare Turnstile check, and every API route is rate limited. The AI endpoints need a post ID or a signed-in user, which stops anyone from using them as a free AI proxy.

The BlogNest sign-in page
Sign in with Google or email, behind a Turnstile check.

Features

More screenshots

The BlogNest home page
The home page, with the most liked stories.
BlogNest topics list
Six topics to browse, from technology to hobbies.

Built by Lakshay Jain