Skip to content

Latest commit

ย 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

StratMate

StratMate

Easy Strategy Calculator for Mobile Gaming Alliances

License: MIT Platform Made with Expo React Native TypeScript

StratMate helps gaming alliance leaders schedule events and keep every member in sync โ€” with zero accounts, zero servers, and zero complexity.

Pick your game โ†’ build a schedule โ†’ share one code โ†’ everyone stays in sync โš”๏ธ


๐Ÿ“ฑ Screenshots

Onboarding

Never Miss an Event Sync with One Code Pick Your Role

App Screens

Home โ€” Live Dashboard Events โ€” Full Timeline
Build โ€” Schedule Maker Help & FAQ Settings

โœจ Features

๐Ÿ  Home โ€” Live Dashboard

  • Next Event card โ€” live countdown with event name, fire time, category badge (Combat / Defense / Economy) and repeat interval
  • Timezone strip โ€” shows Server UTC offset vs your Device offset side-by-side
  • In Sync indicator โ€” confirms your schedule is live
  • Event summary tiles โ€” quick counts for Total, Next 24h, Done, Snoozed
  • Upcoming events list โ€” tap to snooze or mark done; long-press to fast-snooze

๐Ÿ“… Events โ€” Full Timeline

  • Chronological list of every upcoming event fire
  • Category filter pills โ€” All, Defense, Combat, Economy, Custom
  • Search bar โ€” find any event instantly
  • All times shown in your device timezone automatically
  • Shows repeat intervals (e.g. every 240m, every 360m)

๐Ÿ”จ Build โ€” Schedule Maker

  • 12+ pre-configured games โ€” Rise of Kingdoms, Lords Mobile, War & Order, and more
  • Set your Alliance name and Server UTC offset once
  • Add custom events โ€” name, category, first fire time, repeat interval
  • Team Code generator โ€” creates a compact TEAM1-โ€ฆ code to share in Discord
  • Member import โ€” paste a Team Code โ†’ tap Import โ†’ instantly synced, no account needed

โ“ Help โ€” Built-in FAQ

  • What's a Team Code?
  • How do notifications work?
  • What does the Server offset mean?
  • How does the QR code work?
  • All answers available fully offline

โš™๏ธ Settings

  • Toggle push alerts on/off for all events
  • Send test notification โ€” fires in 5 seconds
  • Choose Sound On or Silent alert mode
  • Leave alliance โ€” clears schedule and cancels all alerts

๐Ÿ—๏ธ Project Structure

stratmate/
โ”œโ”€โ”€ apps/
โ”‚   โ”œโ”€โ”€ mobile/              # Expo (React Native) iOS & Android app
โ”‚   โ”‚   โ”œโ”€โ”€ src/
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ app/         # expo-router file-based screens
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ components/  # Shared UI components
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ utils/       # Auth, uploads, IAP, timezone helpers
โ”‚   โ”‚   โ”œโ”€โ”€ assets/images/   # App icons & splash screens
โ”‚   โ”‚   โ””โ”€โ”€ Screenshots/     # App preview screenshots
โ”‚   โ””โ”€โ”€ web/                 # React Router v7 companion web app
โ””โ”€โ”€ shared/
    โ””โ”€โ”€ design-mode/         # Shared design tokens

๐Ÿ› ๏ธ Tech Stack

Layer Technology
Mobile Framework Expo SDK 53 ยท React Native 0.79
Language TypeScript 5.x
Navigation expo-router (file-based)
Web Framework React Router v7 ยท Vite
Web Server Hono on Node.js
Database Neon (serverless Postgres)
State Zustand
Async Data TanStack Query
Styling Tailwind CSS (NativeWind)
Notifications expo-notifications (local)
In-App Purchases RevenueCat

๐Ÿš€ Getting Started

Prerequisites

  • Node.js โ‰ฅ 18
  • Expo CLI (npm install -g expo-cli)
  • Xcode (iOS) or Android Studio (Android)

Mobile

cd apps/mobile
npm install
cp .env.example .env   # fill in your values
npx expo start --ios

Web

cd apps/web
npm install
cp .env.example .env   # fill in DATABASE_URL etc.
npm run dev

๐Ÿ” Environment Variables

Mobile (apps/mobile/.env)

Variable Description
EXPO_PUBLIC_BASE_URL Your deployed web app URL
EXPO_PUBLIC_HOST Your app host domain
EXPO_PUBLIC_UPLOADCARE_PUBLIC_KEY File upload key
EXPO_PUBLIC_REVENUE_CAT_APP_STORE_API_KEY RevenueCat iOS key
EXPO_PUBLIC_LOGS_ENDPOINT Remote error logging endpoint

โš ๏ธ Never commit .env files โ€” they are in .gitignore


๐Ÿ“„ License

MIT License โ€” Copyright (c) 2026 Aashish

This project is licensed under the MIT License โ€” see the LICENSE file for details.


Made with โค๏ธ by Aashish

โญ Star this repo if you find it useful!

About

๐ŸŽฎ StratMate โ€” Strategy calculator for mobile gaming alliances with smart resource planning

Topics

Resources

Code of conduct

Stars

11 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages