Skip to content
HwakoPublic

About

Minara — Islamic events and community for Muslims

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Minara

Minara is a Flutter app that helps Muslims stay close to their community — discover and RSVP to local mosque events, browse a directory of nearby mosques, follow daily reflections, and access prayer times and Qibla direction, all in one place.

Features

  • Events — browse a feed of upcoming events from mosques in your community, with RSVP support
  • Mosque directory — find and join nearby mosques, view their profiles and programming
  • Mosque admin tools — mosques can manage their profile, post events, and administer their page
  • Reflections — a feed of daily reflections to keep you connected spiritually
  • Prayer times & Qibla — accurate prayer times (via the adhan package) and a live Qibla compass
  • Profiles & notifications — user profiles, push notifications for new events, and a home screen widget for quick prayer-time glances
  • Modernized UI with a warm, minimal Material 3 design

Screenshots

Discover Events Mosque Directory Mosque Profile & Jumu'ah
Discover events feed Mosque directory Mosque profile with Jumu'ah times

Tech Stack

  • Flutter (Material 3)
  • Firebase: Auth, Firestore, Storage, Cloud Functions, Cloud Messaging
  • adhan for prayer time calculation, flutter_compass for Qibla direction
  • location, http, image_picker, share_plus, url_launcher
  • home_widget for the iOS/Android home screen widget

Setup

1) Prerequisites

  • Flutter SDK installed
  • A Firebase project with Auth, Firestore, Storage, and Cloud Messaging enabled
  • google-services.json (Android) and GoogleService-Info.plist (iOS) from your Firebase project

2) Clone and install dependencies

git clone https://github.com/Hwako/Minara.git
cd Minara
flutter pub get

3) Configure Firebase

Run flutterfire configure to generate lib/firebase_options.dart for your own Firebase project, or drop in your platform config files as noted above.

4) Run

flutter run

Security Notes

  • Do not hardcode API keys or Firebase config in source files.
  • Keep real keys and service credentials in local-only workflows.
  • .env files are ignored by git in this project.
  • If a key was ever exposed, rotate/regenerate it in the relevant console (Firebase / Google Cloud).

Project Structure

  • lib/main.dart - app entry point, navigation shell, and bottom nav
  • lib/onboarding_flow.dart - welcome/onboarding and sign-in entry
  • lib/event_feed_screen.dart, lib/event_detail_screen.dart, lib/event_form_screen.dart, lib/event_model.dart, lib/event_service.dart - events feed, detail, creation, and data layer
  • lib/mosque_directory_screen.dart, lib/mosque_directory_model.dart, lib/mosque_directory_service.dart, lib/mosque_profile_screen.dart - mosque directory and profiles
  • lib/mosque_admin_screen.dart, lib/mosque_edit_screen.dart, lib/admin_onboarding_screen.dart, lib/admin_code_screen.dart - mosque admin tools
  • lib/reflections_screen.dart, lib/reflection_model.dart, lib/reflection_service.dart - reflections feed
  • lib/prayer_times_service.dart, lib/qibla_screen.dart - prayer times and Qibla compass
  • lib/profile_screen.dart, lib/user_profile_model.dart, lib/user_profile_service.dart - user profiles
  • lib/auth_service.dart, lib/sign_in_screen.dart - authentication
  • lib/push_notification_service.dart, lib/widget_sync_service.dart - notifications and home screen widget sync
  • lib/location_service.dart - location and geocoding logic
  • lib/api_config.dart - runtime API key config

Troubleshooting

  • Sign-in fails: verify Firebase Auth is enabled and platform config files are in place.
  • Empty events/mosques: verify Firestore rules and that your project has seed data.
  • GPS issues on desktop/web: use manual location input where available.

For additional API key guidance, see API_KEY_SETUP.md.

About

Minara — Islamic events and community for Muslims

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages