Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/dreancaste/TriviaPP/llms.txt

Use this file to discover all available pages before exploring further.

Welcome to the TriviaPP documentation. TriviaPP is a fully-featured Star Wars trivia mobile app built with Ionic + Angular + Capacitor, combining lore-based questions with real-time data from SWAPI (the Star Wars API). Players authenticate via AWS Amplify, compete on a Firebase Firestore daily leaderboard, and explore a built-in wiki covering characters, films, and planets.

Introduction

Learn what TriviaPP is, what it does, and how its key components fit together.

Quickstart

Clone, configure, and run TriviaPP locally in a few steps.

Architecture

Understand the service layer, data flow, and external integrations.

Technical Reference

Full service API reference — AuthService, TriviaService, SwapiService, and more.

Core Features

Trivia Gameplay

10-question sessions mixing lore and live SWAPI data.

Star Wars Wiki

Browse characters, films, and planets powered by SWAPI.

Live Ranking

Daily leaderboard stored in Firebase Firestore.

Game History

Per-session stats and full match history via localStorage.

Player Profile

Display name, avatar photo, and vibration settings.

Configuration

Firebase, AWS Amplify, and environment setup.

Get Running in 4 Steps

1

Clone the repository

git clone https://github.com/dreancaste/TriviaPP.git
cd TriviaPP
npm install
2

Configure Firebase and AWS Amplify

Add your Firebase project credentials to src/firebase.config.ts and set up your Amplify Auth configuration. See Firebase Setup and AWS Amplify Auth.
3

Start the development server

npm start
The app runs at http://localhost:8100 in your browser.
4

Build for Android

npm run build
npx cap sync android
npx cap open android
Open Android Studio and run on a device or emulator.
TriviaPP targets Android via Capacitor. Capacitor Camera and Haptics plugins require a real device or a properly configured emulator — they do not work in a standard browser context.

Build docs developers (and LLMs) love