Skip to content

Employee Attendance App, with barcode and location

Notifications You must be signed in to change notification settings

ghufr/attendance_flutter

 
 

Repository files navigation

Shift - Aplikasi Presensi Pegawai

🚧 This project is not completed

This application is showcasing

  • MVS (Model, View, Service)
  • QR code scanner
  • GPS to locate current position

How to Run The App (Local)

Requirements

Steps:

  • Edit lib/services/constants.dart => BASE_URL = http://10.0.2.2:1337 (for emulator) / http://localhost:1337 (for web)

  • Open localhost:1337/admin, do the setup proccess to create admin user

  • After login as admin, go to roles settings -> Authenticated image

  • Check the find & findMine and click save image

  • Run the API project run: npm run develop

  • Start android emulator / connect adb devices (optional)

  • On the App project run: flutter run

After the API running, you can check the localhost:1337/admin to view dashboard

How to Build (Production)

  • Change BASE_URL in lib/services/constants.dart
  • run flutter build

API Documentation

The API made using strapi.js, a Headless CMS to quickly prototyping, you can found API specs in this Postman Collection: https://www.postman.com/ghf-dev/workspace/public/collection/2708961-ff1c0681-7a65-418a-9629-189d19f3a95c

About

Employee Attendance App, with barcode and location

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 92.1%
  • HTML 6.3%
  • Other 1.6%