Skip to content

Repository files navigation

🌍 Global Thought — AI-Powered Blog Platform

Global Thought is an AI-powered blog platform built using Next.js, TypeScript, MongoDB,Tailwind CSS, and Shadcn UI. It helps users generate, publish, and manage blog posts with the help of artificial intelligence. Designed for both content creators and admins, the platform supports seamless writing, user management, and content moderation.


🚀 Live Site

🔗 https://global-thought.vercel.app/


🔐 Test Credentials

Use the following test credentials to log in and explore the platform:

Role Email Password
Admin admin@gmail.com admin@gmail.com
User user@gmail.com user@gmail.com

🧰 Tech Stack

  • Framework: Next.js
  • Language: TypeScript
  • Styling: Tailwind CSS
  • Database: MongoDB
  • Authentication: NextAuth.js
  • AI Integration: Gemini API
  • State Management: TanStack Query
  • Rich Text Editor: Tiptap
  • Hosting: Vercel

✨ Key Features

  • 🧠 AI blog content generation
  • ✍️ Rich text editing with Tiptap
  • 🧑‍💼 Role-based authentication (admin/user)
  • 📄 Blog creation, editing, and modal preview
  • 👥 User management panel (view, update, suspend)
  • 🌗 Dark and light mode support
  • 🔎 Search and filtering for content discovery

⚙️ Getting Started (Development)

📦 Clone the Repository

git clone https://github.com/safin33221/Global_Thought-Ai-Prowerd-BlogPost_Using-NextJs.git
cd Global_Thought-Ai-Prowerd-BlogPost_Using-NextJs

1. Install Dependencies

pnpm install

2. Configure Environment Variables

Create a .env file at the root of the project and add the following:

MONGODB_URI=your_postgresql_database_url
NEXTAUTH_SECRET=your_nextauth_secret
NEXTAUTH_URL=http://localhost:3000
GEMINI_API_KEY=your_openai_api_key

3. Run Development Server

pnpm dev

Visit: http://localhost:3000


📄 License

This project is licensed under the MIT License.


🙋‍♂️ Author

Developed by Safin Chowdhury
Feel free to fork, contribute, or use this as a starter for your own AI blog platform!


📌 Optional: Database Setup & Deployment

Let me know if you'd like to include additional instructions for:

  • Deployment on Vercel
  • Production environment configuration

About

Global Thought is an AI-powered blog platform built using Next.js, TypeScript, MongoDB,Tailwind CSS, and Shadcn UI. It helps users generate, publish, and manage blog posts with the help of artificial intelligence.

Topics

Resources

Stars

Watchers

Forks

Releases

Contributors

Languages