The AEye Team
The AEye Engineering & Security Lab
YES! 100% REAL HAI. Writing and publishing a blog post involves several steps. First, the content is created using an editor including title, rich text.. HAAN, BILKUL 100% REAL HAI! 🚀
Yeh koi dummy UI ya mock data nahi hai. Agar aap Blogger Studio me ja kar koi blog likhte hain aur "Publish" karte hain, to wo foran website ke live /blog section me add ho jayega aur public ke liye accessible hoga. ────── ### Ye Poora System Kaise Kaam Karta Hai? (Step-by-Step Flow)
[Admin Studio: /admin/blog/new] │ ▼ (Publish Button Click) [/api/admin/blog POST API] │ ▼ [Neon Serverless Postgres Database] ──► (Permanently Saved in `blog_posts` table) │ ▼ [Public Website: /blog] (Dynamic Live Render) │ ▼ [Dedicated Article: /blog/your-post-slug] (With SEO Meta, Images, Rich Content) ────── ### 1. Database me Permanent Save Hota Hai
• Code me Neon Serverless Postgres (@neondatabase/serverless) integrated hai. • Jaise hi aap post publish karte hain: • Database ki blog_posts table me entry ho jati hai. • Server restart ya redeploy hone par bhi aapka post kabhi delete nahi hoga.
2. Website ke Blog Section me Foran Dikhayi Deta Hai
• Public page page.tsx par export const dynamic = "force-dynamic" aur revalidate = 0 set hai. • Sath hi BlogClientView.tsx me instant real-time sync laga hai jo direct API se latest articles fetch karta hai. • Iska matlab: Publish karte hi jaise hi aap /blog refresh karenge, aapka naya article sabse upar first card ban kar show hoga.
3. Dedicated Live URL & Google SEO
• Har article ka apna public route ban jata hai: https://yourdomain.com/blog/[slug] • TipTap editor me likhi hui formatting (Headings, bullet points, code blocks, tables, quotes) automatically style ho kar display hoti hai. • Social media share karne ke liye OpenGraph aur Google search ke liye meta tags (generateMetadata) dynamically generate hote hain.
4. Images bhi Real Upload Hoti Hain
• Jo image aap editor me paste ya upload karte hain: • Wo /api/upload/image endpoint ke through process hoti hai. • Neon Database aur media storage (/api/media/[id]) me save hoti hai taaki Vercel par bhi images break na hon.
────── ### 🧪 Aap Khud Test Kar Sakte Hain:
- Admin panel me ja kar /admin/blog/new open karein.
- 2. Title dalein (jaise: My First Test Security Post), thoda text likhein aur "Publish" dabayein.
- 3. Phir public website par /blog visit karein — aapko aapka naya post live dikhayi dega!
The AEye Team
Cybersecurity Recon & ASM Specialist
Related Articles
ISSUE 1: IMAGE UPLOAD & DISPLAY
I am building The AEye cybersecurity platform. My blog CMS admin panel is built in React + TipTap editor + FastAPI backend. I need PERMANENT, BULLETPROOF soluti...
Read Article →The forgotten .env.backup problem in production
Why backup files, debug panels, and staging hosts keep showing up on public perimeters — and how defensive ASM catches them early.
Read Article →