Welcome to your feature-rich blog app built with Next.js, TypeScript, Prisma, and more! 🚀
To run this project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/anjankarmakar10/frontpage.git
-
Navigate to the project directory:
cd frontpage
-
Create a
.env.local
file in the root of the project. -
Set the following environment variables in your
.env.local
file (You need to create a OAuth App for GITHUB_ID and GITHUB_SECRET):DATABASE_URL=your-mongodb-url NEXTAUTH_URL=http://localhost:3000/ NEXTAUTH_SECRET=your-nextauth-secret GITHUB_ID=your-github-client-id GITHUB_SECRET=your-github-client-secret NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME=your-cloudinary-cloud-name
Replace the values after the equal sign (
=
) with your actual configuration. -
Install dependencies:
npm install
-
Run the development server:
npm run dev
Open http://localhost:3000 in your browser to see your blog app!
- Read & Create Blogs
- Manage Your Blogs (update, delete, publish, draft)
- Bookmark Your Favorites
- Markdown Support
- Cloudinary Integration for Images
- Authentication with NextAuth
- Exciting New Features Coming Soon!
Feel free to explore, contribute, and share your thoughts through your blog app!
Happy coding! 🚀✨
Make sure to customize the URLs, secrets, and other values according to your actual configuration. Users who want to run your project locally will find these instructions helpful.