Skip to content
Felipe Felca Giannini
PTEN
WhatsApp (opens in a new tab)
Back to all projects

TJSP Studies

Schedule, questions and reviews for a public-service exam.

Open (sign-up required, in Portuguese) (opens in a new tab)
TJSP Studies project screen, in Portuguese
TJSP Studies on a phone
Type
System
Made by
Solo project
Technologies
React, TypeScript, Vite, Supabase

The problem

Bring the schedule, questions, reviews and essays for a public-service exam together.

What I did

  • Editable schedule
  • Mistake log
  • Spaced review
  • Essays
  • Progress by subject

See it working

Mistake log

Gathers mistakes and shows what to review, with invented data.

Mistake log: TJSP Studies project screen, in Portuguese

Progress

The student’s accuracy, with invented data.

Progress: TJSP Studies on a phone

Behind the screen

This is part of the code that reorganizes overdue tasks.

Drag to see the code behind it

TJSP Studies project screen, in Portuguese
let d = hoje()
let cont = 0
const limite = addDias(prova, -2)

for (const t of late) {
  while (parse(d).getDay() === 0
         || cont >= 2) {
    d = addDias(d, 1)
    cont = 0
  }
  if (d > limite) d = limite
  moves[t.key] = d
  cont++
}