https://github.com/ahmed1cb/codequery
**CodeQuery** is a specialized **Q&A platform for developers**. It allows programmers to ask coding questions, share answers, and earn reputation through community-driven voting and badges.
https://github.com/ahmed1cb/codequery
ask-question js mysql php php-project qa-platform tailwindcss twig-templates
Last synced: 6 months ago
JSON representation
**CodeQuery** is a specialized **Q&A platform for developers**. It allows programmers to ask coding questions, share answers, and earn reputation through community-driven voting and badges.
- Host: GitHub
- URL: https://github.com/ahmed1cb/codequery
- Owner: AHMED1CB
- License: mit
- Created: 2025-08-25T07:57:40.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-09-03T12:49:55.000Z (7 months ago)
- Last Synced: 2025-09-03T14:40:06.290Z (7 months ago)
- Topics: ask-question, js, mysql, php, php-project, qa-platform, tailwindcss, twig-templates
- Language: Twig
- Homepage:
- Size: 72.3 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# 💡 CodeQuery - Programming Q&A Platform
**CodeQuery** is a specialized **Q&A platform for developers**.
It allows programmers to ask coding questions, share answers, and earn reputation through community-driven voting and badges.
---
## 🚀 Features
- 👤 **Authentication**
- User registration, login, and logout.
- Profile page with avatar and bio.
- ❓ **Questions**
- Post new questions with title, body, and tags.
- Browse and search questions by keywords or tags.
- View counter for each question.
- 💬 **Answers**
- Submit answers to questions.
- Mark an answer as "Accepted".
- Order answers by votes.
- 🏷 **Tags**
- Use tags like [php], [javascript], [python].
- Dedicated page for each tag with related questions.
- 👍 **Voting & Reputation**
- Upvote/downvote questions and answers.
- Reputation system for active contributors.
- Badges (Bronze, Silver, Gold) for milestones.
- 💬 **Comments**
- Comment on questions and answers.
- 🔔 **Notifications**
- Get notified when someone answers your question.
- Get notified when your answer is accepted or upvoted.
---
## 📌 API Routes (Example)
> Example routes in RESTful API style. Will Edit on Future
### 🔑 Authentication
- `POST /register` → Create a new account.
- `POST /login` → User login.
- `POST /logout` → User logout.
- `GET /profile/{id}` → View user profile.
- `PUT /profile/{id}` → Update profile.
### ❓ Questions
- `GET /questions` → List all questions.
- `GET /questions/{id}` → View question details.
- `POST /questions` → Post a new question.
- `PUT /questions/{id}` → Edit a question.
- `DELETE /questions/{id}` → Delete a question.
### 💬 Answers
- `POST /questions/{id}/answers` → Add an answer.
- `PUT /answers/{id}` → Edit an answer.
- `DELETE /answers/{id}` → Delete an answer.
- `POST /answers/{id}/accept` → Accept an answer.
### 👍 Voting
- `POST /questions/{id}/vote` → Vote on a question.
- `POST /answers/{id}/vote` → Vote on an answer.
### 🏷 Tags
- `GET /tags` → List all tags.
- `GET /tags/{name}` → View questions by tag.
### 💬 Comments
- `POST /questions/{id}/comments` → Add comment to a question.
- `POST /answers/{id}/comments` → Add comment to an answer.
- `DELETE /comments/{id}` → Delete a comment.
### 🔔 Notifications
- `GET /notifications` → List all user notifications.
---
## ⚙️ Tech Stack
- **Backend:** PHP And Libraries
- **Database:** MySQL/MariaDB.
- **Frontend:** HTML, CSS, JavaScript, Tailwind , sweetalert , highlightjs
---
## 📜 License
MIT-License
Open-source project — feel free to use, modify, and improve 🚀- (Im Using Ai To Improve The Ui)