Skip to content

Latest commit

 

History

580 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HåfaGPT

HåfaGPT is an AI-powered Chamorro language learning platform. This repository contains the complete product: the FastAPI service, React web application, language-content tooling, and deployment configuration.

Production: hafagpt.com · API: hafagpt-api.onrender.com

Repository structure

.
├── api/       # FastAPI, RAG, database migrations, crawlers, and evaluations
├── web/       # React, TypeScript, Vite, PWA, and learner/admin interfaces
├── scripts/   # Repository-wide development and verification commands
└── .github/   # CI for both applications

The applications have independent dependency systems:

  • API: Python 3.12, FastAPI, Alembic, PostgreSQL
  • Web: Node.js 20, npm, React, TypeScript, Vite

No JavaScript monorepo framework is required.

Local setup

git clone https://github.com/Shimizu-Technology/HafaGPT.git
cd HafaGPT

cp api/.env.example api/.env
cp web/.env.example web/.env.local

python3.12 -m venv api/.venv
api/.venv/bin/python -m pip install -r api/requirements.txt pytest
cd web && npm ci && cd ..

./scripts/dev.sh

The web app runs at http://localhost:5173; the API runs at http://localhost:8000.

For credential setup and onboarding details, see api/documentation/SETUP_GUIDE.md.

Verification

./scripts/check.sh

The repository-wide check runs backend tests, canonical language-content validation, static-audio synchronization checks, frontend linting, TypeScript validation, and a production frontend build.

Credential-free system checks run in CI. Live database/RAG checks explicitly skip unless DATABASE_URL and OPENAI_API_KEY are available; run them in a protected staging workflow rather than storing production credentials in CI.

2026 review and roadmap

Deployment

  • Netlify deploys web/ using the root netlify.toml.
  • Render deploys api/ using the settings documented in render.yaml.
  • Both production services deploy from main.
  • Secrets remain in the provider dashboards and are never committed.

The original standalone repositories are retained as read-only migration archives. This repository is the canonical source for all new work.

About

AI-powered Chamorro language learning platform

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages