An open API service indexing awesome lists of open source software.

https://github.com/atiqurrahman895/devtalks

DevTalks is a dynamic community-driven forum where developers can ask questions, share knowledge, and engage in discussions around programming topics. It includes AI-powered features to boost engagement and make learning more interactive.
https://github.com/atiqurrahman895/devtalks

axios daisy-ui express-js jwt-token mongodb react-js react-router tailwind-css tanstack-query

Last synced: 3 months ago
JSON representation

DevTalks is a dynamic community-driven forum where developers can ask questions, share knowledge, and engage in discussions around programming topics. It includes AI-powered features to boost engagement and make learning more interactive.

Awesome Lists containing this project

README

          

# DevTalks 🧠💬

DevTalks is a dynamic community-driven forum where developers can ask questions, share knowledge, and engage in discussions around programming topics. It includes AI-powered features to boost engagement and make learning more interactive.

![DevTalks Screenshot](https://i.ibb.co.com/NgkV6ySF/DevTalks.jpg)

## 🚀 Live Project

🔗 Live Site: [https://dev-talks-1.web.app/](https://dev-talks-1.web.app/)

---

## 🚀 Features

- ✅ Ask and answer technical questions.
- 🧠 AI Quiz: Attempt quizzes generated by AI based on tagged topics.
- 🤖 Default AI Answer: AI provides an initial helpful answer when a question is asked.
- 📝 Rich Text Editor with syntax highlighting.
- 🔍 Search and filter posts by tags or keywords.
- ❤️ Upvote, downvote, bookmark, and comment on discussions.
- 🛠️ Admin panel to manage users, posts, and reported content.
- 🌐 Responsive design for all screen sizes.

---

## 🛠️ Tech Stack

**Frontend**:
- React.js
- Tailwind CSS
- Firebase Hosting & Auth
- Axios
- Tanstack query

**Backend**:
- Node.js
- Express.js
- MongoDB (with `mongodb` native driver)

**AI & Tools**:
- Groq for AI answers and Gemini for quiz generation
- Tiptap for the rich text editor
- Highlight.js for code syntax highlighting

---

## 📦 Installation

Follow these steps to run the project locally:

### Prerequisites
- Install [Node.js](https://nodejs.org/) (latest LTS version recommended)
- Install [Git](https://git-scm.com/)

### Steps

1. **Clone the repository**
```sh
git clone https://github.com/AtiqurRahman895/DevTalks.git
cd devtalks
```

2. **Install dependencies**
```sh
npm install
```

3. **Set up environment variables**
Create a `.env.local` file in the root directory and add the following variables:
```sh
VITE_apiKey=your_firebase_api_key
VITE_authDomain=your_firebase_auth_domain
VITE_projectId=your_firebase_project_id
VITE_storageBucket=your_firebase_storage_bucket
VITE_messagingSenderId=your_firebase_messaging_sender_id
VITE_appId=your_firebase_app_id
VITE_cloudinary_cloud_name=your_cloudinary_cloud_name
```

4. **Start the development server**
```sh
npm run dev
```

5. **Open the project in your browser**
```
http://localhost:5173

---

## 📅 Roadmap

- [x] AI-powered question answering
- [x] AI quiz generation
- [x] Rich text and code editor
- [ ] Notification system
- [ ] Real-time updates using sockets
- [ ] Dark mode

---

## 🤝 Contributing

Pull requests are welcome. For major changes, please open an issue first.

---

## 📄 License

This project is licensed under the MIT License.