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! ⭐
- 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
Before starting, ensure you have:
- Node.js installed on your machine
- A MongoDB database ready to use
-
Clone the repository:
git clone https://github.com/sufiprog/blog-app.git cd sufiblog
-
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
-
Install dependencies:
npm install
-
Run the development server:
npm run dev
Open http://localhost:3000 in your browser to see your project live.
The easiest way to deploy a Next.js app is via the Vercel Platform.
- Sign up for a Vercel account if you don’t already have one.
- Import your project from GitHub.
- Add the same environment variables in the Vercel dashboard.
- Deploy your project with a single click.
Explore the official documentation for the technologies used in this project:
- Next.js Documentation - Learn about Next.js features and API.
- MongoDB Documentation - Learn about MongoDB features and API.
- NextAuth Documentation - Learn about NextAuth features and API.
- Tailwind CSS Documentation - Learn about Tailwind CSS features and API.
Contributions are welcome!
Feel free to:
- Open an issue to suggest features or report bugs.
- Submit a pull request for enhancements or fixes.
This project is licensed under the MIT License.
Enjoy building with SufiBlog! 🚀