Skip to content

eXPeRi91/EazyWebQuiz

Repository files navigation

EazyWebQuiz

A simple website to create and test your knowledge (No Question DB)

Prerequisites

Before you get started, make sure you have the following installed:

  • PHP (version 5.6 or greater)
  • MySQL Server (version 5.7 or greater)
  • Web server (e.g., Apache, Nginx)
  • Git (optional, for cloning the repository)

Installation

  1. Clone the repository (or download the ZIP file and extract it):
  1. Import the SQL Database:
  • Create a new database named web_quiz in your MySQL server.
  • Import the database structure and data using the SQL script located in the sql directory.
  1. Configure Database Connection:
  • Open db_config.php.
  • Update the database credentials with your MySQL server details.
  1. Start the Web Server:
  • Start your web server (e.g., Apache, Nginx).
  • Ensure that PHP is properly configured and enabled.
  1. Access the Website:
  • Open a web browser and navigate to the hosted URL of the website.
  • You should see the AvioTests website's homepage.

Features:

  • Dark Version only.
  • User Registration and Login: Users can create accounts and log in to the website. (Encrypted)
  • Quiz Taking: Users can take quizzes consisting of multiple-choice questions.
  • Quiz Categories: Quizzes are organized into different categories for easy navigation.
  • User Scores: The website tracks and displays user scores for each quiz.
  • News: Add news. (Only from DB)
  • Cookies: A basic implementation for Cookies consent.

Contributing

License

  • This project is licensed under the terms of the GNU Affero General Public License (AGPL), version 3.0 - see the LICENSE file for details.

Usage

  • Home Page (index.php): View a welcome message and links to various sections of the website.
  • Quiz Page (quiz.php): Take a quiz by answering questions with multiple-choice options.
  • Add Question Page (add_question.php): Add new quiz questions to the database.
  • Add Category Page (add_category.php): Add new quiz categories to the database.
  • Quiz Results Page (quiz_result.php): See the results of the quiz you've taken.

About

A simple website to create and test your knowledge (No Question DB)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors