Git Friends

:warning: 这是一个工作机会的测试项目,快来看看吧

root
└─ src
....├─ AppIcons
....└─ Front-end Challenge.pdf      // -> here is the test with your requirements

项目 (The Project)

一个简单的应用程序,提供来自 github 的朋友数据,以及他们的提交记录。

  • Figma (原型)

figma

  • 结果

result

特点

  • MVC 架构;
  • 模块化;
  • bloc 用于响应性;
  • dio 用于 api 请求;
  • BDD;
  • i18n(国际化) en_US/pt_BR;
  • 启动图标;
  • 启动名称;
  • 彩蛋;

设计(在 figma 中)

架构

root
└─ lib
....├─ i18n
........├─ en_US.json
........└─ pt_BR.json
....├─ modules
........└─ home
............├─ bloc
................├─ home_bloc.dart
................├─ home_event.dart
................└─ home_state.dart
............├─ models
................└─ users_model.dart
............├─ pages
................└─ home_page.dart
............├─ repositories
................└─ home_repository.dart
............└─ home_module.dart
....├─ shared
........├─ core
........└─ widgets
....├─ app_module.dart
....├─ app_widget.dart
....└─ main.dart

端点

api: https://api.github.com/users;

BDD 需求在

root
└─ requirements
....└─ home
.......├─ home.feature
.......└─ remote_get_data_use_case.md

依赖项

Flutter 版本:3.0.0;

dio: ^4.0.6
easter_egg_trigger: ^1.0.1
flutter_bloc: ^8.0.1
flutter_localizations: 
    sdk: flutter
flutter_modular: ^5.0.2
localization: ^2.1.0

框架和工具

  • figma;
  • vs code;
  • flutter & dart;
  • android 模拟器;

特别鸣谢

许可证

MIT License

Copyright (c) 2022 Matheus Ferreira

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.

GitHub

查看 Github