Skip to content

Latest commit

 

History

History
53 lines (32 loc) · 1.83 KB

README.md

File metadata and controls

53 lines (32 loc) · 1.83 KB

Shuseki

Introduction

Shuseki integrated with geolocation (GPS) that can help your company or you as a developer to build a presence app. beauty user interface and have a multi user ( admin and employee ). You can also change the appearance of this application easily or add new features. Using Getx and Firebase.

Installation

Step 1:

Download or clone this repo by using the link below and do flutter pub get.

https://github.com/kinoarizu/GoAbsensi
cd flutter_presence
flutter pub get

Step 2:

Rename the app package name ( because this can affect the firebase ) . You can do it manually or using this package Rename Package or look at this Stackoverflow Question

Step 3:

Re init the firebase cli. See Documentation

Step 4:

Enable firebase email/password authentication

Step 5:

Create Firestore Database

Step 6:

This time, we will set up the database and admin account. The first thing that you need to do is add user at firebase console authentication menu

copy the User UID. Next, you need to start a collection like this : *use the User UID as Document id

role is the important field, in this application there are 2 role ( admin and employee ). Also, the created_at field is using Iso8601String, but you can use this dummy date

2022-05-10T12:34:58.274129

Step 7:

Run the flutter app

Step 8:

Change the company data at lib/company_data.dart