Repository navigation
Releases
Releases · NadmanFaisal/31Golfers
v1.0
Summary
This release introduces the core "Caddy" functionality. The app now successfully authenticates users, retrieves location-based weather data to recommend playable holes, and supports fully offline score tracking for groups (including NPCs).
New Features
Authentication & Security
- User Login/Signup: Fully functional flow using JWT tokens.
- Secure Storage: Tokens are encrypted using expo-secure-store for auto-login.
- Session Management: Users remain logged in across app restarts.
Smart Weather Recommendations
- Playability Engine: Analyzes real-time temperature, wind, and precipitation to suggest if it's safe to play 18 holes.
- Hourly Forecasts: Fetches weather data specifically for golf courses in Bangladesh.
- Tee-Off Scheduler: Visual indicators for the best time to start a round.
Game & Score Management
- Offline-First Scoring: Start games and track strokes without an internet connection.
- NPC Support: Add non-playable characters (friends without accounts) to the scorecard.
- Dynamic Scorecard: Edit scores mid-game with immediate local saving.
- Sync Logic: Completed games are stored locally and prepared for backend sync when online.
History
- Game Logs: Browse a history of past game sessions.
- Score Review: View detailed stroke breakdowns for previous rounds.
Technical Highlights
- Architecture: Implemented a robust offlineGameStore using AsyncStorage to ensure no data is lost during connectivity drops.
- Background Jobs: Server-side cron jobs configured to fetch weather data at midnight daily.
### Known Issues / Roadmap (Upcoming Refactors)
- Navigation: Currently using a custom Footer; migrating to Native Tabs for better performance in v0.2.0.
- File Structure: Optimizing styles folders to prevent "ghost routes" in Expo Router.
- Performance: Reducing unnecessary re-renders by moving token logic to a central AuthContext.
### How to Test
- Login with your credentials.
- Go to Home and check the "Recommended Game" tile.
- Tap "Start a Game", add a dummy player (NPC), and verify the offline scorecard works.
- Kill the app and reopen it to verify you stay logged in.
What's Changed
- #1 Add architecture diagram for M01 by @NadmanFaisal in #5
- #4 Add sequence diagram for M01 by @NadmanFaisal in #6
- 3 ci branch by @NadmanFaisal in #7
- 9 authorization branch by @NadmanFaisal in #10
- 11 weather branch by @NadmanFaisal in #12
- 13 adviced holes branch by @NadmanFaisal in #14
- 15 custom hole branch by @NadmanFaisal in #17
- 18 history branch by @NadmanFaisal in #19
- 18 history branch by @NadmanFaisal in #20
New Contributors
- @NadmanFaisal made their first contribution in #5
Full Changelog: https://github.com/NadmanFaisal/31Golfers/commits/1.0