A quiz builder built on top of Next.js, Prisma, and Supabase.
- Light/dark mode toggle
- Live previews
- Internationalization (i18n) — ar/en
- Create, read, update, and delete quizzes
- Quiz submission
- Answer review
- Categorized quizzes
- Ensure you have created a project on Supabase.
- Disable email confirmation on Supabase, as the application uses dummy email addresses (e.g., [email protected], [email protected]).
-
Clone the repository:
git clone https://github.com/mhmadamrii/tadsheen-quizapp.git
-
Navigate to the project directory:
cd tadsheen-quizapp
-
Install dependencies:
pnpm install
-
Set up the database:
pnpm db:push
-
Start the development server:
pnpm dev
To run this project, add the following environment variables to your .env
file:
AUTH_SECRET=
DATABASE_URL=
DIRECT_URL=
NEXT_PUBLIC_SUPABASE_URL=
NEXT_PUBLIC_SUPABASE_ANON_KEY=
AUTH_TRUST_HOST=
Alternatively, you can copy the example file and rename it:
cp .env.example .env
Client: React, Next.js, TailwindCSS
Server: tRPC, Next.js API routes
Authentication: Supabase Authentication, tRPC procedure
ORM: Prisma