Greg W. Lyons
ProjectsHomeContact
GWLPXL

Quiz Generator

AI-Powered Quiz Generation Platform

Next.js 16 · TypeScript · AWS Amplify · DynamoDB · OpenAI

Live Demo

Overview

Quiz Generator is an AI-powered quiz generation platform that creates multiple-choice quizzes from text input. Built with Next.js 16 and TypeScript, it leverages OpenAI GPT-4o-mini to generate questions, stores quizzes in AWS DynamoDB, and provides comprehensive export options. The platform demonstrates production-ready serverless architecture with AWS Lambda, API Gateway, and Amplify Hosting, showcasing expertise in AI integration, cloud services, and full-stack TypeScript development.

Key Features

  • AI-Powered Quiz Generation using OpenAI GPT-4o-mini to create multiple-choice questions from text input with customizable difficulty levels, question counts, and answer choices.
  • Customizable Quiz Parameters including difficulty selection (easy, medium, hard), configurable number of questions (1-20), flexible choice counts (2-6 per question), and support for single or multiple correct answers.
  • Comprehensive Results Display featuring formatted quiz presentation with correct answer highlighting, detailed explanations for each question, and metadata display (difficulty, creation date, quiz ID).
  • Multi-Format Export Functionality supporting JSON export for programmatic use, plain text export for easy reading, and CSV export for spreadsheet integration with proper formatting and escaping.
  • Serverless Backend Architecture powered by AWS Lambda functions for quiz generation and retrieval, DynamoDB for persistent quiz storage, API Gateway for RESTful endpoints, and AWS Secrets Manager for secure API key management.
  • Production-Ready Deployment with AWS Amplify Hosting for frontend deployment, local development fallback API routes, session storage for client-side caching, and error handling with user-friendly messages.

Architecture

Serverless architecture using AWS services:

  • Frontend (AWS Amplify): Next.js 16 App Router handles dynamic routing and component rendering with Chakra UI v3 for modern, accessible components and Framer Motion for smooth animations.
  • Backend (AWS Lambda): Two Lambda functions (generateQuiz and getQuiz) handle quiz generation via OpenAI API and quiz retrieval from DynamoDB with proper error handling and validation.
  • Data Layer: DynamoDB table stores quiz data with unique quiz IDs, timestamps, and full question/answer structures for persistent access.
  • API Layer: API Gateway provides RESTful endpoints with rate limiting and throttling, supporting both production (Amplify) and local development environments.

Technical Highlights

CategoryTechnologies / Practices
FrontendNext.js 16, React 19, TypeScript, App Router
UI/UXChakra UI v3, Framer Motion, Responsive Design
BackendAWS Lambda, API Gateway, DynamoDB, Secrets Manager
AI IntegrationOpenAI GPT-4o-mini, JSON response parsing, Prompt engineering
Data ExportJSON, TXT, CSV formats, File-saver library, PapaParse
DeploymentAWS Amplify Hosting, Environment-based configuration
DevelopmentLocal API routes fallback, Session storage caching

Outcome

  • Demonstrates production-ready serverless architecture with AWS Lambda, DynamoDB, and API Gateway integration.
  • Showcases AI-powered content generation using OpenAI API with structured JSON responses and error handling.
  • Highlights flexible quiz customization with multiple parameters for difficulty, question count, and answer format.
  • Proves expertise in full-stack TypeScript development with Next.js 16, React 19, and modern UI libraries.
  • Exhibits professional export capabilities supporting multiple formats for different use cases and integrations.

© 2024 Greg W. Lyons. All rights reserved.

GitHubLinkedIn

Greg W. Lyons - Full Stack Developer Resume

Contact Information

Email: gwlpxl@gmail.com

Location: Remote / Upstate New York

LinkedIn: https://www.linkedin.com/in/gwlyons/

GitHub: https://github.com/gwlenglish

Portfolio: https://gwlyons.com

Current Position

Web Specialist at Game-U LLC

Technical Skills

Frontend: React, Next.js, TypeScript, JavaScript, HTML5, CSS3, Chakra UI, Framer Motion, Tailwind CSS, Responsive Design

Backend: Node.js, Express, Django, Python, REST API, GraphQL, PostgreSQL, DynamoDB

Cloud & DevOps: AWS, Amplify, Cognito, Vercel, Git, GitHub, CI/CD

Game Development: Unity, C#, WebGL, Game Design, Multiplayer Development, Game Programming, Game Architecture

Creative: Technical Writing, Content Creation, Storytelling, Screenwriting, Educational Content, Children's Literature

Professional Experience

Web Specialist - Game-U LLC (Current)

Full Stack Developer - Freelance (5+ years)

Unity Game Developer - Independent (5+ years)

Published Author - The Statistics Monster (2017)

Screenwriter - Film Festival Selections

Education & Certifications

Unity Certified Expert: Programmer

Published Author - Children's Educational Books

Film Screenwriter - Festival Selections

Availability

Immediately Available

Rate: $50/hour

Open to: Freelance, Contract, Part-time

Location: Remote or Upstate New York

Preferred Contact: Email (gwlpxl@gmail.com)