Skip to content

uoa-compsci399-s2-2022/Website

Repository files navigation

Spatial Skills Testing Website

Created by Team 34 for COMPSCI 399.

This website allows instructors to create, management, assign and track quizzes for their students. These quizzes can be used for any subject, but we made it with Spatial Skills testing in mind. We ensured that individual questions could be timed, and that interactive questions are easily implemented to allow for this.

This is a Next.js project bootstrapped with create-next-app.

Our website is hosted at spatialskills.team34.software, and we used the Jira project management system.

Some sample quiz and questions can be found in /samples. These can be imported into the website for testing.

Screenshots

Class management dashboard
Quiz Applet Quiz Editor

Technologies used

Getting Started

First, download the repo and install all the required packages:

git clone https://github.com/uoa-compsci399-s2-2022/Website
cd Website
npm install

Then, you will need to configure Prisma:

npx prisma generate

Finally, run the development server:

npm run dev

Open http://localhost:3000 with your browser to access the website.

Environment Variables

Name Description
NEXTAUTH_URL Base URL for the website
NEXTAUTH_SECRET Secret for generating keys
DATABASE_URL URL to postgres database
GITHUB_ID GitHub OAuth ID
GITHUB_SECRET GitHub OAuth Secret
GOOGLE_CLIENT_ID Google OAuth ID
GOOGLE_CLIENT_SECRET Google OAuth Secret

For local development, you can include these variables in a .env file in the root directory. Here is an example:

NEXTAUTH_URL=http://localhost:3000/
NEXTAUTH_SECRET=mydevelopmentkey
...

Future Plans

This website is almost complete, but run out of time for:

  • MOODLE question export
  • Question editing
  • Better statistic exporting
  • Comprehensive user testing

In the future, it would be nice to implement:

  • More interactive question types
  • A safer backend, which does more validation and security checks
  • Refractoring. Cleaner code would make the website easier to maintain
  • Extensive statistics, with more graphs!

About

A quizzing website for testing your Spatial Skills

Resources

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •  

Languages