Lab
Lab•13mo ago

Dormiq

During a study session, a friend brought up the idea of dorm rooms versus prison cells, and asked if we ever took the quiz, so we searched for it online and it seemed pretty bare-bones, so I decided I'd have a go at making one myself. Link: https://dormiq.xyz/ Built with - Next.js - Tailwind - Convex - Zustand - shadcn - Framer Motion I used Convex as image storage for the dorms and prison cell pictures, and query functions to retrieve the name and correct answer for each image. I tried to make the quiz as frictionless as possible so there's no auth implemented or anything like that. This was also the first time I worked with dynamic OG images using vercel/og, so whenever you share your score at the end of the quiz or copy the link at the scoreboard page, a dynamic OG image will be generated showcasing your accuracy!
No description
9 Replies
oscklm
oscklm•13mo ago
Haha that's a fun one. Enjoyed trying it out, and was harder than i expected. Good job!
winsoroaks
winsoroaks•13mo ago
how are some dorm cells better than my apartment? 😭
jamwt
jamwt•13mo ago
wow TIL some of the prisons in norway and denmark are pretty swanky
winsoroaks
winsoroaks•13mo ago
im planning to commit crime in norway so i can bootstrap my startup at their prisons 🙂
Michal Srb
Michal Srb•13mo ago
@Lab this is super polished, well done! The social card with correct_answers isn't working for me. If I remove the count, it's kinda broken too (but seems to be what's desired)
No description
No description
trace
trace•13mo ago
No description
trace
trace•13mo ago
@Lab Nice
Supernova3339
Supernova3339•13mo ago
Gave it a go, I love the results page! Yin yang, so 50/50 ( 5 correct )
Supernova3339
Supernova3339•12mo ago
found a bug! if you have 10/10, you still have 75% accuracy!
No description

Did you find this page helpful?