š Live Demo
Explore the live demonstration of the project: DevOverflow
DevOverflow is a Q&A platform for developers to ask questions, share knowledge, and learn from each other.
Built with Next.js, Tailwind CSS, Clerk, MongoDB, and more, it offers a seamless user experience with modern UI and authentication.
DevOverflow is built using the following technologies:
To run this project locally, follow these instructions.
Ensure you have the following installed on your machine:
Before running the project, set up the required services:
Clerk Authentication
CLERK_PUBLISHABLE_KEY
and CLERK_SECRET_KEY
in .env
MongoDB Database
MONGODB_URL
in .env
TinyMCE Editor
NEXT_PUBLIC_TINYMCE_API_KEY
in .env
Webhook Setup (Clerk)
http://<YOUR-DOMAIN>/api/webhook/clerk
CLERK_WEBHOOK_SECRET
in .env
git clone https://github.com/rupesh-dev30/DevForum.git
Step 2: Install Dependencies
npm install
Step 3: Start the Development Server
npm run dev
Step 4: Open in Browser
Visit http://localhost:3000 to see the application running.
š Environment Variables
Create a .env file in the root directory and add the following:
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=<CLERK_PUBLISHABLE_KEY>
CLERK_SECRET_KEY=<CLERK_SECRET_KEY>
NEXT_CLERK_WEBHOOK_SECRET=<CLERK_WEBHOOK_SECRET>
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/
NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/onboarding
NEXT_PUBLIC_TINYMCE_API_KEY=<YOUR_TINY_MCE_API_KEY>
MONGODB_URL=<YOUR_MONGODB_URL>
NEXT_PUBLIC_SERVER_URL=<YOUR_SERVER_URL>
š Deployment
Deploy to Production (Manual)
Create an optimized production build:
npm run build
Deploy on Vercel (Recommended)
The easiest way to deploy this Next.js app is using Vercel.
Deploy on Netlify
You can also deploy this Next.js app with Netlify.
For more details, check out the Next.js deployment documentation.
š§ Contributing
Contributions are always welcome! To contribute:
Fork the repository
Create a new branch
git checkout -b improve-feature
Make your changes
Commit the changes
git commit -m "Improve feature"
Push to the branch
git push origin improve-feature
Create a Pull Request š
š© Bug / Feature Request
If you find a bug or have a feature request, please open an issue.
š Acknowledgements
Special thanks to the following technologies & libraries that made this project possible:
Next.js
MongoDB & Mongoose
Clerk
ShadCN
Tailwind CSS
TinyMCE
Svix
Vercel
š References
This project follows best practices inspired by industry leaders and online resources.