FLUTTER ECOSYSTEM

salvadordeveloper/flutter-crypto-app

Riverpod 및 Freezed, REST API용 Dio를 사용한 Flutter 암호화폐 앱

flutter-crypto-app 프로젝트 이미지
Stars
438
Forks
101
최근 푸시(UTC)
2022. 10. 1.
프로젝트 상태
활성
Salvador Valverde GitHub avatar
GITHUB User

Salvador Valverde ↗

 iOS Developer

언어DartHTMLRubySwiftShellKotlinObjective-C

기술 주제

관련 패키지 및 예제

사용 중인 의존성

의존성 목록 22 개

앱 카테고리

순위

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.

README 펼치기 / 접기

Flutter Crypto APP

Complete Flutter Application with Riverpod & Freezed + Dio for API REST.

test build codecov Flutter version GitHub license

https://raw.githubusercontent.com/salvadordeveloper/flutter-crypto-app/HEAD/screenshots/cover.png

Features

  • API REST (CryptoWatch)
  • Linear Graph View (Hour, Day, Week, etc)
  • OHLC Graph
  • Search
  • Light / Dark Theme
  • Multi Language
  • Exchange Selection
  • Favorite Pair
Stack
  • Flutter 2.10.2
  • Riverpod + Hooks
  • Freezed
  • Dio
Testing
  • Unit Testing (flutter_test)
  • Integration Testing (integration_test)
  • Mock Data (http_mock_adapter)
  • Github Actions (iOS & Android Integration Test)

Screenshots

Home Details Settings
https://raw.githubusercontent.com/salvadordeveloper/flutter-crypto-app/HEAD/screenshots/1_dark.jpeg https://raw.githubusercontent.com/salvadordeveloper/flutter-crypto-app/HEAD/screenshots/2_dark.jpeg https://raw.githubusercontent.com/salvadordeveloper/flutter-crypto-app/HEAD/screenshots/3_dark.jpeg
https://raw.githubusercontent.com/salvadordeveloper/flutter-crypto-app/HEAD/screenshots/1_light.jpeg https://raw.githubusercontent.com/salvadordeveloper/flutter-crypto-app/HEAD/screenshots/2_light.jpeg https://raw.githubusercontent.com/salvadordeveloper/flutter-crypto-app/HEAD/screenshots/3_light.jpeg

Setup project

Download project

git clone https://github.com/salvadordeveloper/flutter-crypto-app

Get flutter dependencies

flutter pub get

You need to create an account at https://cryptowat.ch/ to get a personal API KEY

Rename the env.example file to .env and put there you API KEY

API_KEY={CryptoWatch_KEY}

Run the app

flutter run

If you have any error with generated files try to run this

flutter pub run build_runner build --delete-conflicting-outputs
Testing

Unit Test

flutter test

Integration Test

flutter drive --driver=test_driver/integration_test.dart --target=integration_test/main_test.dart

Resources

Flutter Docs

Riverpod Docs

Cryptowatch Docs

Licence

MIT License

Copyright (c) 2022 Salvador Valverde

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.