GeoTrack is a React Native mobile application that automates employee attendance tracking using geolocation services. Designed for both Android and iOS using Expo, GeoTrack ensures accurate location-based check-ins and check-outs for employees, providing real-time attendance records.
- Automated Attendance: Automatically tracks employee attendance based on their location.
- Push Notifications: Monthly reports of check-in and check-out times sent via Firebase Cloud Messaging (FCM).
- Admin Dashboard: Admins can view a detailed history of employee working hours and generate monthly reports.
- Secure Data Storage: All data is securely stored in MongoDB, with backup and recovery options.
- Cross-Platform: Built using React Native, works on both Android and iOS devices.
- Node.js (version 14+ recommended)
- Expo CLI installed globally:
npm install -g expo-cli
- Firebase Project with Firebase Cloud Messaging (FCM) enabled
- MongoDB for storing attendance data
-
Clone the repository:
git clone https://github.com/sih-coffee-js/app.git cd app -
Install dependencies:
npm install
-
Setup Environment Variables:
- Create a
.envfile in the root directory. - Add the following variables:
FIREBASE_API_KEY=<your-firebase-api-key> MONGODB_URI=<your-mongodb-connection-string> FCM_SERVER_KEY=<your-fcm-server-key> GOOGLE_MAPS_API_KEY=<your-google-maps-api-key>
- Create a
-
Run the application:
num run android