Skip to content

πŸ’¬ CodeByte is a PHP 8-based developer forum where users can post questions ❓ and share solutions βœ… across categories like β˜• Java, 🐍 Python, βš›οΈ JavaScript, 🧩 Node.js, 🌐 Django, and 🐧 Linux. Built with 🐘 PHP, πŸ’Ύ MySQL, 🎨 Bootstrap, and βš™οΈ JavaScript.

License

Notifications You must be signed in to change notification settings

hunjanhar/codebyte

Repository files navigation

🧠 CodeByte - Developer Forum Website

CodeByte is a developer-focused forum website built using PHP 8, MySQL, Bootstrap, HTML, CSS, and JavaScript. It allows users to ask questions, share issues, and provide solutions related to various programming technologies.


πŸš€ Features

  • πŸ—‚οΈ Categories: Choose from multiple tech categories:

    • Java
    • Python
    • JavaScript
    • Django
    • Node.js
    • Linux
  • 🧡 Threads/Questions: Authenticated users can create threads to explain problems they're facing.

  • πŸ’¬ Comments/Replies: Other logged-in users can respond with solutions, suggestions, or further questions.

  • πŸ” Authentication:

    • Users must Sign Up and Login to:
      • Post threads
      • Comment on threads
      • Use the Contact Us feature
    • If a non-logged-in user attempts to perform restricted actions, a popup message (e.g., "Please login first") is displayed.
  • πŸ“© Contact Us: Logged-in users can send feedback or issues via the Contact Us form.


πŸ› οΈ Technologies Used

  • PHP 8
  • MySQL
  • Bootstrap 5
  • HTML5
  • CSS3
  • JavaScript

πŸ—ƒοΈ Database Structure

The project uses JOIN operations to manage interactions between the following tables:

  • category – List of available technology categories.
  • registration – User account details.
  • thread – User-submitted questions or problems.
  • comment – Replies to threads.
  • contactus – Contact form submissions.

πŸ› οΈ Project Setup

1. Clone the Repository

Download or clone the project from GitHub:

git clone https://github.com/hunjanhar/codebyte.git

πŸ–₯️ Local Setup Instructions

Follow the steps below to set up CodeByte on your local machine:

1. Install Requirements

2. Start Services

  • Open XAMPP Control Panel
  • Start Apache and MySQL

3. Project Setup

  • Move the project folder to XAMPP’s htdocs directory:
    C:\xampp\htdocs\codebyte
    

4. Import Database

  • Open phpMyAdmin
  • Create a new database named:
    codebyte
    
  • Import the SQL file from:
    codebyte/configuration/codebyte.sql
    

5. Configure Database Connection

  • Open the file:
    codebyte/database/database.php
    
  • Update the database parameters as needed:
    $host = 'localhost';
    $username = 'root';
    $password = ''; // default is empty in XAMPP
    $dbname = 'codebyte';

⚠️ Make sure these credentials match your local MySQL configuration.

6. Run the Project

  • In your browser, go to:
    http://localhost/codebyte
    

πŸ“Έ Screenshots

🏠 Home Page

Home Page

πŸ—‚οΈ Category Page

Category Page

🧡 Thread View

Thread View

πŸ” Login Page

Login Page

πŸ’¬ Comment Section

Comment Section


🀝 Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

πŸ“„ License

This is a private and proprietary project.
All rights reserved Β© 2025 Hunjanhar.

You may not copy, distribute, or modify any part of this project without explicit permission from the author.

About

πŸ’¬ CodeByte is a PHP 8-based developer forum where users can post questions ❓ and share solutions βœ… across categories like β˜• Java, 🐍 Python, βš›οΈ JavaScript, 🧩 Node.js, 🌐 Django, and 🐧 Linux. Built with 🐘 PHP, πŸ’Ύ MySQL, 🎨 Bootstrap, and βš™οΈ JavaScript.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published