GithubHelp home page GithubHelp logo

bbariskilic / numbers Goto Github PK

View Code? Open in Web Editor NEW
15.0 3.0 1.0 3.66 MB

An app that shows facts about numbers. The project has been written solely in Dart Language.

License: MIT License

Kotlin 0.08% Swift 0.46% Objective-C 0.03% Dart 78.73% Ruby 0.94% HTML 2.63% CMake 5.47% C++ 11.19% C 0.48%
bloc clean-architecture cubit dart dio equatable flutter freezed getit mocktail

numbers's Introduction

Numbers

An app that shows interesting information about the searched number. In addition, it is also possible to search for a random number and see interesting facts about that number as well. If you are curious about the API which provides this info about the numbers, take a look at: http://numbersapi.com

Keeping code clean and tested are the two most important development practices. In Flutter, this is even more true than with other frameworks. Therefore, even state management patterns like BLoC are not sufficient in themselves to allow for an easily extendable codebase.

As proposed by Uncle Bob, we should all strive to separate code into independent layers and depend on abstractions instead of concrete implementations.

For this purpose, in this project, applied clean architecture. The project has been written solely in Dart language.

 

State Management: flutter_bloc

Dependency Injection: get_it

HTTP Client: dio

Simple Storage: shared_preferences

Router: go_router

Test: mocktail

 

Screenshots of the app:

         

 

         

 

numbers's People

Contributors

bbariskilic avatar cem256 avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

cem256

numbers's Issues

refactor: restructure the project based on features

Restructure the project based on features:

  • change project structure from layer based to feature based
  • update error handling and resources
  • refactor config layer
  • refactor core layer
  • refactor data sources and combine local and remote using feature based abstract class.
  • rename models as DTOs
  • update packages that are being use in project
  • refactor widget tree

chore: add github workflow

Setup github workflow for the project:

  • Add issue template
  • Add pull request template
  • Setup dependabot
  • Add workflows

test: add missing tests

Add tests for 100% code coverage:

  • Test app layer
  • Test config layer
  • Test core layer
  • Test every feature in feature layer

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.