Code Monkey home page Code Monkey logo

skillsprint's Introduction

SkillSprint

SkillSprint is a fun mathematical gamification web application that provides a challenging and interactive experience reminiscent of CTFs, improving users' problem-solving skills and mathematical knowledge.

Built with

Getting started

To get started, follow these steps.

Prerequisites

  • Node.js (Version: >= 18.x)
  • PostgreSQL database
  • Pnpm
  • PostHog project (production only)

Development

  1. Clone this repository to your local machine.

    git clone https://github.com/Lekesoldat/skillsprint.git
  2. Go to the project folder.

    cd skillsprint
  3. Set up your .env file.

    • Create a .env file and copy the values from.env.example.
  4. Fill out the environment variables with yours, such as the DATABASE_URL.

  5. Add your user to to the admin list in user-utilities.

  6. Run pnpm tasks-seed to seed the database with some tasks and your user.

  7. Open a browser and go to http://localhost:3000.

Project structure

This application follows the same folder structure as described in T3 Docs.

skillsprint's People

Contributors

kharann avatar lekesoldat avatar

Watchers

 avatar  avatar

skillsprint's Issues

Fikse tekst når man har fått korrekt svar.

Det er misvisende at man får opp 'du har allerede svart på denne oppgaven' i det man får vite at det er rett svar.

Kan feks endre teksten til:
'Du har svart rett på denne oppgaven.'

så dekker det alle use cases

Task cards should display if solved or not

Need a way / query to know if the task is solved by the current user.
Mybe a new db model called SolvedTasks?

I.e:

model SolvedTasks {
    userId String @map("user_id")
    taskId String @map("task_id")
    user   User   @relation(fields: [userId], references: [id])
    task   Task   @relation(fields: [taskId], references: [id])

    @@id([userId, taskId])
}

`auth.me` returns password

Problem?

image

Kan dette være fordi vi selecter alt og ikke bare nødvendige felter på noen spørringer mon tro?

Leaderboard design

Vi må enten fjerne bildene eller gi unike ikoner. Enklest er kanskje å drite i bildene(?)

Startside og bakgrunner

  • Må få på bakgrunner i applikasjonen (krusseduller etc)
  • Fikse start-side / evt lede rett til oppgave-siden

Font is gone

The font no longer works. Is it imported correctly?

Mer tracking?

Er det realistisk å få inn dette på brukernivå? At vi kan sjekke disse statsene per pers

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.