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 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.
Before running the application, ensure you have the following installed:
- Python 3.x
- pip (Python package installer)
Follow these steps to set up the project on your local machine:
git clone https://github.com/Baig-fatema/ApptiMock-Quiz-Application.git
cd ApptiMock-Quiz-Application
python -m venv env
Windows:
env\Scripts\activate
macOS/Linux:
source env/bin/activate
pip install -r requirements.txt
python manage.py makemigrations
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver
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.
- If you encounter an error stating
quizApp not found
, it likely means that thequizApp
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.
-
Ensure your server is running:
python manage.py runserver
-
Open your web browser and navigate to the Django admin panel:
http://127.0.0.1:8000/admin
-
Log in with your superuser credentials.
-
Once logged in, go to the section where profiles are managed and create a new profile for the superuser if it doesn't exist.
This project is licensed under the MIT License. See the LICENSE file for details.
For questions or feedback, reach out to [email protected].