- Firebase Setup: Initialized Firebase in the Flutter app to store and retrieve employee data.
- Employee Details Screen: Implemented a screen to display employee details.
- Search Functionality: Added a search bar to filter employees by name.
- Security with .env: Used a .env file to securely store Firebase API keys.
- Clone the repository:
git clone https://github.com/22chiragmodh/zylu_asg.git
- Install dependencies:
flutter pub get
- Create a
.env
file in the root directory of the project:API_KEY=your_api_key APP_ID=your_app_id MESSAGING_SENDER_ID=your_messaging_sender_id PROJECT_ID=your_project_id
- Run the app:
flutter run
- firebase_core: ^2.24.2
- cloud_firestore: ^4.14.0
- intl: ^0.19.0
- google_fonts: 6.1.0
- flutter_vector_icons: ^2.0.0
- flutter_dotenv: ^5.1.0
-
Any employee who has been with the organization for more than 5 years and is active will be flagged with a green-filled star, as shown below:
- Users can use the search bar to filter employees by name, as demonstrated in the screenshot: