Skip to content

automatesolutions/Swerte3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swerte3

AI-assisted Swertres / 3D Lotto companion: React Native (Expo) + FastAPI + PostgreSQL.

  • Free predictions: XGBoost + Markov (no LLM).
  • Premium: Miro-style LLM synthesis + council layer (requires API key and entitlement).

Quick start

Backend

cd backend
python -m venv .venv
.\.venv\Scripts\activate   # Windows
pip install -r requirements.txt
copy .env.example .env     # then edit DATABASE_URL, SECRET_KEY, etc.
uvicorn app.main:app --reload --host 0.0.0.0 --port 8000

Run migrations (PostgreSQL):

cd backend
alembic upgrade head

Tests default to SQLite via tests/conftest.py so CI does not require Postgres.

Mobile

cd mobile
npm install
npx expo start

Set EXPO_PUBLIC_API_URL in mobile/.env (see mobile/.env.example) to your backend URL.

Testing

cd backend && pytest
cd mobile && npm test

Deploy (sketch)

  • Backend: backend/Dockerfile and backend/cloudbuild.yaml for Cloud Run; set env vars (DATABASE_URL, SECRET_KEY, LLM_API_KEY, ADMIN_API_KEY, PayPal PAYPAL_CLIENT_ID / PAYPAL_CLIENT_SECRET, return URLs).
  • Mobile: use EAS Build or Fastlane under mobile/fastlane after app signing is configured.

About

An AI‑powered mobile application that provides smart number predictions for the popular **Swertres (3D Lotto)** game in the Philippines. This project combines historical data analysis, probability models, and machine learning techniques to help users make more informed choices.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors