Skip to content

Commit

Permalink
서버 uri 업데이트
Browse files Browse the repository at this point in the history
  • Loading branch information
haZuny committed Mar 29, 2023
1 parent fd9013f commit 1b3b6ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 21 deletions.
23 changes: 3 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,9 @@
[&nbsp;&nbsp;&nbsp;&nbsp;1.2. What is Sustainable Development Goals?](#What-is-Sustainable-Development-Goals)<br>
[&nbsp;&nbsp;&nbsp;&nbsp;1.3. Our goal](#Our-goal)<br>
[**2. Detail of fuction**](#Detail-of-fuction)<br>
[&nbsp;&nbsp;&nbsp;&nbsp;2.1. Sign up](#1-Sign up)<br>
[&nbsp;&nbsp;&nbsp;&nbsp;2.2. Create a site and view the site check code](#2-Create-a-site-and-view-the-site-check-code)<br>
[&nbsp;&nbsp;&nbsp;&nbsp;2.3. Join in the site](#3-Join-in-the-site)<br>
[&nbsp;&nbsp;&nbsp;&nbsp;2.1. Check helmet and submit](#4-Check-helmet-and-submit)<br>
[&nbsp;&nbsp;&nbsp;&nbsp;2.2. Check daily checklist](#5-Check-daily-checklist)<br>
[&nbsp;&nbsp;&nbsp;&nbsp;2.3. Reset checklist](#6-Reset-checklist)<br>
[&nbsp;&nbsp;&nbsp;&nbsp;2.1. Emergency button](#7-Emergency-button)<br>
[&nbsp;&nbsp;&nbsp;&nbsp;.1. Problem situation](#Problem-situation)<br>
[&nbsp;&nbsp;&nbsp;&nbsp;1.2. What is Sustainable Development Goals?](#What-is-Sustainable-Development-Goals)<br>
[&nbsp;&nbsp;&nbsp;&nbsp;1.3. Our goal](#Our-goal)<br>
[**3. Components**](#Components)<br>
[**4. Download App**](#Download-App)<br>
[**5. Contributor**](#Contributor)<br>
Expand Down Expand Up @@ -62,53 +58,40 @@ Our Cherry **provides a checklist** that must be checked by managers at each sit
# Detail of fuction

### 1. Sign Up
Users can use the service through their Google account. When using the app for the first time, select your role and fill out simple information.

| Admin |User|
|:-----------------------------------------------------------------------------------------------------------------------------:|:---:|
| <img src="https://user-images.githubusercontent.com/64102831/227927715-555f4f42-caa6-4a24-94eb-aff78370eb7c.gif" width="300"> |<img src="https://user-images.githubusercontent.com/64102831/227927719-84257c6c-30f0-4428-a41b-0e673fb4f56e.gif" width="300">|

### 2. Create a site and view the site check code.
If you sign up as an administrator, create a site after entering the information of the work site. Upon completion of creation, you can view the site's unique check code

|Admin|User|
|:---:|:---:|
|<img src="https://user-images.githubusercontent.com/64102831/227927723-aafe4ffb-713c-4533-a5cb-9e7cc2d1c6fa.gif" width="300">|<img src="https://user-images.githubusercontent.com/64102831/227930318-e2bea932-5a7d-40f4-b54b-6b550678f0ce.png" width="300">|
|<img src="https://user-images.githubusercontent.com/64102831/227927729-59936807-2db6-4c9c-9b74-b0017dcf8397.gif" width="300">|<img src="https://user-images.githubusercontent.com/64102831/227930318-e2bea932-5a7d-40f4-b54b-6b550678f0ce.png" width="300">|

### 3. Join in the site
Workers can join in by entering the unique code of the site they want to sign up for. When a worker applies for join, the manager accept/rejects the user.

|Admin|User|
|:---:|:---:|
|<img src="https://user-images.githubusercontent.com/64102831/227930318-e2bea932-5a7d-40f4-b54b-6b550678f0ce.png" width="300">|<img src="https://user-images.githubusercontent.com/64102831/227927731-47eb9e27-f7e5-4985-9235-22b50746a5a9.gif" width="300">|
|<img src="https://user-images.githubusercontent.com/64102831/227927733-f323113e-5eeb-4aaf-8037-6fc217ba85dd.gif" width="300">|<img src="https://user-images.githubusercontent.com/64102831/227930318-e2bea932-5a7d-40f4-b54b-6b550678f0ce.png" width="300">|

### 4. Check helmet and submit
Workers can inspect whether helmets are worn and submit the results to the manager. Administrators can view a list of users who have completed helmet checks.

|Admin|User|
|:---:|:---:|
|<img src="https://user-images.githubusercontent.com/64102831/227930318-e2bea932-5a7d-40f4-b54b-6b550678f0ce.png" width="300">|<img src="https://user-images.githubusercontent.com/64102831/227930318-e2bea932-5a7d-40f4-b54b-6b550678f0ce.png" width="300">|
|<img src="https://user-images.githubusercontent.com/64102831/227927735-fd41d345-3651-451b-b655-ff600ca47e51.gif" width="300">|<img src="https://user-images.githubusercontent.com/64102831/227930318-e2bea932-5a7d-40f4-b54b-6b550678f0ce.png" width="300">|

### 5. Check daily checklist
The manager checks the inspection items for the day. In addition to the basic questions, admin can customize questions for each site.

|Admin|User|
|:---:|:---:|
|<img src="https://user-images.githubusercontent.com/64102831/227927742-ba693cf0-c7d9-4341-a046-3b1e5ce5881a.gif" width="300">|<img src="https://user-images.githubusercontent.com/64102831/227930318-e2bea932-5a7d-40f4-b54b-6b550678f0ce.png" width="300">|
|<img src="https://user-images.githubusercontent.com/64102831/227930318-e2bea932-5a7d-40f4-b54b-6b550678f0ce.png" width="300">|<img src="https://user-images.githubusercontent.com/64102831/227927739-ac8a0dc3-f329-4dcb-ab2f-201600c00525.gif" width="300">|

### 6. Reset checklist
When today's work is finished, check items for the day are initialized, and checked again when the next work is started.

|Admin|User|
|:---:|:---:|
|<img src="https://user-images.githubusercontent.com/64102831/227927748-8bbb857f-a95a-41e9-aad6-8cc6513a8d46.gif" width="300">|<img src="https://user-images.githubusercontent.com/64102831/227930318-e2bea932-5a7d-40f4-b54b-6b550678f0ce.png" width="300">|

### 7. Emergency button
In the emergency, you can check the hospitals around the site and view the first aid method through the emergency button.
<img src="https://user-images.githubusercontent.com/64102831/227934775-455fed21-d471-4dc7-bca9-034bb34a0d66.gif" width="300">
<br>

Expand Down
2 changes: 1 addition & 1 deletion lib/baseFile.dart
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ void clearSiteGlobalVar() {
/// API
/// ########################
Dio dio = Dio();
String api_hostURI = "http://3.37.201.188:8080/";
String api_hostURI = "http://3.37.75.80:8080/";
String authorization = '';
String refreshToken = '';

Expand Down

0 comments on commit 1b3b6ee

Please sign in to comment.