Skip to content

rynkovski/quiz-app

Repository files navigation

Quiz Application Monorepo

This is a Turborepo-based monorepo containing a full-stack quiz application with a Next.js frontend and NestJS backend.

What's Inside?

This monorepo includes the following packages and applications:

Apps

  • frontend: A Next.js application providing the user interface for:
    • Taking quizzes
    • Managing quiz categories
    • Creating/editing questions
    • Viewing quiz results
  • backend: A NestJS application providing:
    • REST API endpoints for quiz functionality
    • Question and category management
    • Quiz scoring and results
    • PostgreSQL database integration via Prisma

Packages

  • @repo/eslint-config: Shared ESLint configurations
  • @repo/typescript-config: Shared TypeScript configurations
  • @repo/shared: Shared types and utilities

Each package/app is 100% TypeScript.

Core Features

  • Quiz taking with timed questions
  • Category-based question organization
  • Question management interface
  • Quiz results tracking
  • Modern UI with Tailwind CSS
  • Full TypeScript support
  • Prisma ORM for database access
  • API-first backend design

Screenshots

Landing Page Category select Quiz start

Roadmap

  • Add Toast notifications
  • Add User System & Authentication
  • Add Enhanced Quiz Features
  • Add Performance optimization
  • Add Dark/light mode
  • Redesign

Setup & Development

Prerequisites

  • Node.js 16+
  • PNPM package manager
  • PostgreSQL database

Getting Started

  1. Install dependencies:
pnpm install
  1. Set up your database:
cd apps/backend
pnpm prisma migrate dev
  1. Start development servers:
pnpm dev

This will start both frontend and backend in development mode.

Build

To build all apps and packages:

pnpm build

Remote Caching

This repo supports Turborepo's Remote Caching feature. To enable it:

  1. Create a Vercel account
  2. Link your repo:
npx turbo login
npx turbo link

Useful Links

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published