Skip to content

ViljamiN/projectII

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project 2: Drill and practice

This is a quiz-answering application, where users can create and answer quizzes.

As a user you can access topics created by admins by clicking the topics link. You can choose any topic, and create and delete questions and multiple choice answers for that topic. There is also a quiz tab where you can answer questions submitted by yourself or other users. On the main page you can see some application statistics. There is a navigation bar on the top of the page, where you can access the home, topics and quiz -pages.

The application is not running online - it was specified in the assignment that having the application running online is currently not required.

Running the application locally

To run the application, open an integrated terminal in the root folder of the application and run the command docker compose up --build (or docker compose up if you have already built the application). You can stop the application with command ctrl + C, or by accessing it via Docker Desktop and stopping it there.

Running the tests

The application comes with 10 end-to-end tests in the folder /e2e-playwright/tests. These tests are supposed to be run with an empty database, so remember to run the command docker-compose rm -sfbefore proceeding to run the tests. These tests can be run by opening an integrated terminal in the root folder and running the command docker-compose run --entrypoint=npx e2e-playwright playwright test. Note: you may need to run the command docker-compose run --entrypoint=npm e2e-playwright install before running the tests if you have not done so before (this was necessary at least for me when developing the tests).

About

This is a simple quiz-answering application, built as part of a Web Software Development course. Status: offline 🔴

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors