Skip to content

helloAmulya/docshub

Repository files navigation

DocsHub

A raw, minimal blog CMS built for devs, designers, and digital wanderers.
It’s not here to impress — it’s here to express.

📓 Made for publishing unfiltered thoughts, tech notes, and story fragments.
⚡ No bloat, no blocks — just a clean, dark UI and a fast writing-to-publish flow.

Built with Next.js App Router, MongoDB, and TailwindCSS v4.
Runs smooth, loads fast, and lets your ideas breathe.


🔍 Preview

🌐 Landing Page

Landing Page

🔐 Admin Dashboard

Admin Dashboard

📄 Public Post Page

Post Page


⚙️ Stack

Next.js Tailwind CSS MongoDB


Features

  • Admin CRUD with secure JWT routes
  • Excerpt generation + slug-based URLs
  • Search by title, excerpt, or content
  • Separate admin and public panel

🚀 Live

https://docshub.space


🛠️ Getting Started

# Clone the repo
git clone https://github.com/helloAmulya/docshub
cd docshub

# Install dependencies
npm install

# Set up environment
touch .env.local
MONGODB_URI=your_mongo_uri
JWT_SECRET=your_super_secret

# Start the dev server
npm run dev


/app
  /admin             → admin dashboard (auth protected)
  /api/posts         → all post APIs (GET, POST, PUT, DELETE)
  /posts             → public blog pages
/components          → UI components
/lib                 → auth, DB, utils
/models              → mongoose models
/public              → images & meta

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published