seunghwanly / commitSyndrome

Introduction of Software Engineering for the Second Semester of Dongguk University in 2020 - COMMITSYNDROME: GAJUGA

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GAJUGA

2020-2 소프트웨어공학개론 팀 프로젝트 - 커밋증후군

Flutter X Firebase

DevelopersKey FeaturesDescriptionScreenshotsUsage

Developers

이승환, 김관우, 박종하, 이주영

Key Features

  • Firebase Authentication
  • Firebase Realtime Database
  • KakaoPay

Description

User

  • 전체메뉴조회
  • 인기메뉴확인
  • 장바구니
  • 주문 및 결제
  • 주문상태확인
  • 주문내역조회

Manager

  • 메뉴관리 - 메뉴 수정, 메뉴 검색
  • 직원관리 - 직원 프로필 수정, 직원 활동내역 조회
  • 매출관리 - 메뉴별 매출 확인, 순이익 확인, 메뉴 인기도 확인
  • 재고관리 - 재고 입력, 발주 신청
  • 주문처리

Screenshots

User

Manager

Usage

For help getting started with Flutter, view the online documentation.

💡 Running the app locally

  1. Clone this repository.
$ git clone https://github.com/seunghwanly/commitSyndrome.git
  1. Change directory depending on what appliaction you want to run.
  • User app
$ cd commitSyndrome/gajuga_user/
  • Manager app
$ cd commitSyndrome/gajuga_manage/
  1. Get packages
$ flutter packages get
  1. Run the app
$ flutter run

💡 Mailer configuration for gajuga_manage

  1. Create credentials.json in root directory(commitSyndrome/gajuga_manage/)
  2. Add your gmail address and password

example:

{
  "email": "example@gmail.com",
  "password": "YOUR_PASSWORD"
}
  1. Edit the email recipient at lib/component/body/stock/stock_order.dart
Future<void> sendEmail(BuildContext context) async {
  ...
    
  // Create email message.
  final message = Message()
    ..from = Address(username, "GAJUGA")
    ..recipients.add('example@gmail.com') // recipent email
    
  ...
}

💡 IAMPORT X KAKAOPAY configuration for gajuga_manage

  1. Create iamport account
  2. Set PG company for your payment
System Settings > PG Settings > PG compnay
시스템설정 > PG설정(일반결제 및 정기결제) > PG사

✔️ Please select TESTMODE(Sandbox) ON, for testing

  1. Copy your merchant identification code
My Info > merchant identification code
내정보 > 가맹점 식별코드
  1. Edit the code at lib/util/payment/iamport_payment.dart
/* [Essential] merchant identification code | [필수입력] 가맹점 식별코드 */
userCode: MERCHANT_IDENTIFICATION_CODE,
/* [Essential] Payment Data | [필수입력] 결제 데이터 */
data: PaymentData.fromJson({
  'pg': 'kakaopay', // PG사
  'payMethod': 'card', // method | 결제수단
  'name': APPLICATION_NAME, // this will be printed when user is ready for payemnt | 주문명
  'merchantUid': ORDER_NUMBER, // 주문번호
  'amount': TOTAL_COST, // 결제금액
  'buyerName': BUYER_NAME, // 구매자 이름
  'buyerTel': BUYER_PHONE_NUMBER, // 구매자 연락처
  'buyerEmail': BUYER_EMAIL, // 구매자 이메일
  'buyerAddr': BUYER_ADDRESS, // 구매자 주소
  'buyerPostcode': BUYER_POST_CODE, // 구매자 우편번호
  'appScheme': APPLICATION_URL_SCHEME, // 앱 URL scheme
  'display': {
    'cardQuota': INSTALLMENT_MONTHLY_LIMIT //결제창 UI 내 할부개월수 제한
  }
}),

About

Introduction of Software Engineering for the Second Semester of Dongguk University in 2020 - COMMITSYNDROME: GAJUGA


Languages

Language:Dart 99.4%Language:Ruby 0.4%Language:Swift 0.1%Language:Kotlin 0.0%Language:Objective-C 0.0%