A full-stack coding forum where developers can ask, answer, and discuss programming-related questions. Built with modern web technologies for a seamless user experience.
- User authentication via Clerk
- Ask, edit, and delete questions
- Answer questions and engage in discussions
- Optimistic UI updates using React Query
- Responsive and modern UI with ShadCN and Tailwind CSS
- React
- TypeScript
- React Query
- ShadCN
- Tailwind CSS
- Node.js
- Express.js
- MongoDB
- Mongoose
- Clerk (authentication)
- Node.js (>= 16)
- MongoDB
- Clerk account for authentication
-
Clone the repository:
git clone https://github.com//melikdev/mern-coding-forum.git cd coding-forum
-
Install dependencies for both frontend and backend:
cd client npm install cd ../server npm install
-
Create a
.env
files as it is in the.env.example
file and fill in the required values: -
Start the development servers:
# In one terminal (backend) cd server npm run dev # In another terminal (frontend) cd client npm run dev
-
Open http://localhost:{port} in your browser to view the app.
Contributions are welcome! Feel free to submit issues and pull requests.