Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quiz Builder

Quiz Builder Preview Quiz Builder is a full-stack web application for creating and viewing custom quizzes.

The project includes:

  • Backend: Express.js, TypeScript, Prisma, SQLite
  • Frontend: Next.js, TypeScript
  • Database: SQLite via Prisma

Features

  • Create a quiz with multiple questions
  • Supported question types:
    • Boolean
    • Input
    • Checkbox
  • View all quizzes
  • View quiz details
  • Delete quizzes

Project structure

quiz-builder/
├── backend/
├── frontend/
└── README.md

Backend setup

Install dependencies:

npm install

Create .env file from example:

cp .env.example .env

Run database migration:

npx prisma migrate dev

Start backend:

npm run dev

Backend will run on: http://localhost:4000

Frontend setup

Install dependencies:

npm install

Create .env.local file from example:

cp .env.example .env.local

Start frontend:

npm run dev

Frontend will run on: http://localhost:3000

API endpoints

POST   /quizzes
GET    /quizzes
GET    /quizzes/:id
DELETE /quizzes/:id

Notes

The project uses SQLite, so no external database server is required. The database is created locally using Prisma migrations.

About

A full-stack quiz creation platform where users can build custom quizzes, manage questions, and complete quizzes.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages