Attendee

🏢 Attendee: Employee Attendance System 📍

Attendee is a cross-platform mobile application designed to track employee attendance based on their real-time location within the office. Built with Flutter and Firebase, the app provides a seamless way for employees to mark their attendance while administrators can manage office locations, monitor working hours, track attendance, and much more!

✨ Features

🛠 Technologies Used

📦 Installation

⚙️ Prerequisites

  1. Install Flutter
  2. Set up a Firebase account and create a Firebase project.
  3. Obtain a Google Maps API key for location services.

🏃‍♂️ Steps to Run the App

  1. Clone the repository:
    git clone https://github.com/MahmudulHasanArif14/Attende.git
    
  2. Navigate into the project directory:
    cd Attende
    
  3. Install dependencies:
    flutter pub get
    
  4. Set up Firebase:
    • Add your Firebase project credentials:
      • For Android, place google-services.json inside:
        android/app/google-services.json
        
      • For iOS, place GoogleService-Info.plist inside:
        ios/Runner/GoogleService-Info.plist
        
    • Follow Firebase setup documentation to integrate Firebase into both Android and iOS.
  5. Run the app:
    flutter run
    

🔥 Firebase Setup

To enable authentication, database, and cloud services, you need to integrate Firebase into the app.

Steps to Set Up Firebase

  1. Create a Firebase Project
  2. Add Firebase to Your Flutter App
  3. Download Firebase Configuration Files
    • For Android, download google-services.json and place it inside:
      android/app/google-services.json
      
    • For iOS, download GoogleService-Info.plist and place it inside:
      ios/Runner/GoogleService-Info.plist
      
  4. Enable Firebase Services
    • In the Firebase Console, enable the services you need:
      • Authentication (Email/Password, Google Sign-In, etc.)
      • Firestore Database (for storing attendance records)
      • Cloud Messaging (for notifications)
  5. Install Firebase Dependencies in Flutter
    Run the following command to install required Firebase packages:
    flutter pub add firebase_core firebase_auth cloud_firestore
    

    Then, update dependencies:

    flutter pub get
    
  6. Initialize Firebase in Your App
    Add the following code to main.dart:
    import 'package:firebase_core/firebase_core.dart';
    
    void main() async {
      WidgetsFlutterBinding.ensureInitialized();
      await Firebase.initializeApp();
      runApp(MyApp());
    }
    

✅ Now Firebase is successfully integrated into your Flutter app!

📜 License

This project is licensed under the MIT License - see the LICENSE file for details.

🤝 Contributing

Contributions are welcome! Feel free to fork this repo and submit a pull request.

📩 Contact

For any queries, contact Mahmudul Hasan Arif.


Made with ❤️ using Flutter & Firebase 🚀