/quizard

Expand your knowledge with personalized quizzes

Primary LanguageTypeScriptMIT LicenseMIT

Quizard

Quizard

Quizard: chatGPT-generated quizzes on any just-about topic.

  • AI-powered quiz generation
  • Topic suggestions on your input
  • Scoring and feedback
  • Multiple choice questions
  • Using your own API key
  • Sharing quizzes

Running locally

How to run the app locally:

Requirements:

Repo setup

  1. Clone the repo.
  git clone https://github.com/DukeManh/quizard.git
  1. Copy the example environment file from .env.example to .env.
  cp .env.example .env
  1. Replace the environment variables with your own values.
  • OPENAI_API_KEY: openAI API key
  • FB_* : Firebase project config
  1. Install dependencies.
  npm install -g pnpm
  pnpm install

App

  1. Run the app.
  pnpm dev

Technologies

  • Next.js: React framework for server-side rendered apps
  • TypeScript: A typed superset of JavaScript
  • Chakra UI: React component library
  • chatGPT: chatGPT API using gpt-3.5-turbo model to generate quizzes
  • Firestore: Serverless NoSQL database for storing quiz data

License

MIT