Skip to content

dvdthr5/JackOutTheBox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trivia Minigame (Host Screen + Phone Players)

A simple real-time multiplayer trivia skeleton:

  • One device acts as the host display screen
  • Players join from their phones
  • Live lobby updates via WebSockets

Tech Stack

  • Client: Vite + React
  • Server: Node.js + Express + Socket.IO
  • State: in-memory (no database yet)

Repo Structure

  • client/ Vite React app
  • server/ Express + Socket.IO server

Prerequisites

  • Node.js 18+ recommended
  • npm (comes with Node)

Setup

1) Install dependencies

Server:

cd server
npm install

Client:

cd ../client
npm install

2) Run Locally

Terminal A

cd server
npm run dev

Terminal B

cd client
npm run dev

Accessing the App

After both the client and server are running:

Client (web app): http://localhost:5173

Server (API + WebSocket): http://localhost:3001

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors