Skip to content

Albenzoo/Brain-Arena

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

38 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🧠 BrainArena - AR Quiz Game

License: MIT

Augmented Reality (WebXR) quiz game with general knowledge questions. One wrong answer ends the game!

πŸ—οΈ Architecture

  • Frontend: TypeScript + Vite + Three.js + WebXR
  • Backend: NestJS + PostgreSQL + TypeORM

πŸš€ Quick Start

Prerequisites

  • Node.js 18+
  • PostgreSQL 15+
  • Meta Quest 3 (for AR) or WebXR-compatible browser

Local Setup

1. Backend

cd brainarena-backend
npm install
cp .env.example .env
# Configure .env with your PostgreSQL credentials
npm run start:dev

2. Frontend

cd brainarena-frontend
npm install
cp .env.example .env
npm start

3. Seed Database

cd brainarena-backend
npx ts-node src/questions/seed-questions.ts

Testing on Quest 3

See Frontend README

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ‘€ Author

Alberto Presenti