Skip to content

sufiprog/blog-app

Repository files navigation

Blog Website with Admin Panel | Next.JS 15, Next-Auth, MongoDB

SufiBlog is a modern blogging platform built with Next.js 15, React, Tailwind CSS, and MongoDB. It features an intuitive admin panel for managing blogs and subscriptions, with secure authentication handled by NextAuth.

Please star this repository; your support means a lot!


Features

  • Admin panel for managing blogs and subscriptions
  • Secure authentication using NextAuth
  • Create, update, and delete blogs
  • Manage user subscriptions
  • Fully responsive design
  • Customizable themes with Tailwind CSS

Getting Started

Prerequisites

Before starting, ensure you have:

  • Node.js installed on your machine
  • A MongoDB database ready to use

Setup

  1. Clone the repository:

    git clone https://github.com/sufiprog/blog-app.git
    cd sufiblog
  2. Create a .env file: Add the following environment variables to the .env file in the root directory:

    NEXTAUTH_URL=http://localhost:3000
    MONGODB_URI=your_mongodb_connection_string
    NEXTAUTH_SECRET=your_secret
    
  3. Install dependencies:

    npm install
  4. Run the development server:

    npm run dev

    Open http://localhost:3000 in your browser to see your project live.


Deployment

The easiest way to deploy a Next.js app is via the Vercel Platform.

Steps to Deploy:

  1. Sign up for a Vercel account if you don’t already have one.
  2. Import your project from GitHub.
  3. Add the same environment variables in the Vercel dashboard.
  4. Deploy your project with a single click.

Learn More

Explore the official documentation for the technologies used in this project:


Contributing

Contributions are welcome!
Feel free to:

  • Open an issue to suggest features or report bugs.
  • Submit a pull request for enhancements or fixes.

License

This project is licensed under the MIT License.


Enjoy building with SufiBlog! 🚀

Releases

No releases published

Packages

No packages published