How shadowisf/examiq works
Project type and purpose
• This is a full-stack, server-rendered web application built with Next.js (App Router) and React, backed by Supabase for database and authentication.
• The README and folder names (e.g., src/app, utils/supabase) confirm it’s an exam-management system (“EXAMIQ”) where users sign in, take exams, and view results via course and dashboard pages.
File structure
• Top-level files: next.config.ts, middleware.ts, package.json, tsconfig.json → Next.js configuration and global middleware.
• src/app/ → Next.js App Router directory containing page.tsx route handlers and nested folders for sign-in, sign-out, dashboard, course, exam, result, and shared layout/components.
• src/app/utils/supabase/ → Supabase client and server integration (client.ts, server.ts, middleware.ts).
• src/app/utils/default/ → general utilities (ID generator, date formatters, entity reader).
• Each route folder has page.tsx, actions.ts (server-action handlers), and components subfolder for UI widgets.
README for additional insights
• It suggests a server-side login flow (“Register and login”), implying use of Supabase Auth via middleware.