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

Contributors

Languages