Skip to content

Baig-fatema/ApptiMock-Quiz-Application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ApptiMock Quiz Application

ApptiMock is a comprehensive quiz application built using HTML, CSS, JavaScript, and Django. This application features multiple pages including a home page, leadership page, quiz page, about page, registration and login pages, a dashboard for superusers, and a blogs page.

home view

Features

  • Home Page: Introduction and navigation to other sections of the app.
  • Leadership Page: Information about the leadership team.
  • Quiz Page: Interactive quiz section.
  • About Page: Details about the application and its purpose.
  • Register Page: User registration functionality.
  • Login Page: User authentication.
  • Dashboard Page (Superuser Only): Administrative panel for superusers to manage content.
  • Blogs Page: A section for blog posts.

Prerequisites

Before running the application, ensure you have the following installed:

  • Python 3.x
  • pip (Python package installer)

Setup

Follow these steps to set up the project on your local machine:

Clone the Repository

git clone https://github.com/Baig-fatema/ApptiMock-Quiz-Application.git

Navigate to the Project Directory

cd ApptiMock-Quiz-Application

Create a Virtual Environment

python -m venv env

Activate the Virtual Environment

Windows:

env\Scripts\activate

macOS/Linux:

source env/bin/activate

Install Dependencies

pip install -r requirements.txt

Apply Migrations

python manage.py makemigrations
python manage.py migrate

Create a Superuser

python manage.py createsuperuser

Run the Development Server

python manage.py runserver

Usage

Open a web browser and go to http://127.0.0.1:8000 to access the application. Use the registration and login pages to manage user accounts. Access the superuser dashboard at http://127.0.0.1:8000/admin to manage the application content. Contributing Contributions are welcome! Please open issues or submit pull requests to enhance the project.

Troubleshooting

  • If you encounter an error stating quizApp not found, it likely means that the quizApp Django application has not been created yet. You can easily create this application by running the following command:
python manage.py startapp quizApp
  • If you encounter the error Profile matching query does not exist, it typically means that the profile for the superuser has not been created. To resolve this issue, you need to create a profile through the Django admin panel.

Solution

  1. Ensure your server is running:

    python manage.py runserver
  2. Open your web browser and navigate to the Django admin panel:

    http://127.0.0.1:8000/admin
    
  3. Log in with your superuser credentials.

  4. Once logged in, go to the section where profiles are managed and create a new profile for the superuser if it doesn't exist.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For questions or feedback, reach out to [email protected].

Author

Baig-Fatem

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published