Giter VIP home page Giter VIP logo

kalshi_test_app's Introduction

Financial Health Project

This project is a Flutter application that helps calculate users' financial health based on their annual income and monthly costs. To ensure code quality, the Clean Architecture pattern and Flutter Bloc and GetIt libraries are used for dependency injection, unit testing, and widget testing.

Functionalities

  • Calculate financial health based on annual income and monthly costs.
  • Displays different financial states (healthy, average, low) based on costs relative to income.

Technologies Used

  • Flutter Bloc
  • Get it
  • Mocktail
  • Equatable
  • SVG
  • Fonts and Images

Tests Coverage

Coverage

Running Tests

To run the tests for this project, use the following command:

flutter test

To generate a code coverage report while running tests, use:

flutter test --coverage

This will generate a coverage report in the coverage/lcov.info file.

Viewing Code Coverage To view the code coverage report using LCOV:

Install LCOV:

Ensure LCOV is installed on your system. You can typically install it using your package manager. Generate HTML Report:

  • Use LCOV to generate an HTML report from the coverage data.

Open the HTML Report:

genhtml coverage/lcov.info -o coverage/html
  • Open the generated HTML report in your web browser: ./coverage/html/index.html This report provides a detailed view of your code coverage metrics.

Project Dependencies

  • bloc: ^8.1.4
  • cupertino_icons: ^1.0.6
  • equatable: ^2.0.5
  • flutter_bloc: ^8.1.6
  • flutter_svg: ^2.0.10+1
  • get_it: ^7.7.0

Setting Up and Running the Project

Setting Up Your Environment

Step 1: Install Flutter

This project use 3.22.1 Version. Make sure you have Flutter installed on the latest stable version. You can download it and follow the installation instructions here.

Step 2: Clone the Repository

Clone this repository using the following command:

git clone https://github.com/Crewlan/kalshi_test_app.git

This will create a local copy of the project in your current directory.

Running the Project in Your IDE

Step 3: Open the Project

Open your preferred IDE (such as VS Code, Android Studio, IntelliJ, etc.) and load the kalshi_test_app project that you just cloned.

Step 4: Run the Project

Make sure you have an emulator set up or a physical device connected. Run the project by pressing the run button in your IDE or using the flutter run command in the terminal at the root of the project.

kalshi_test_app's People

Contributors

crewlan avatar rodrigo-youse avatar

Watchers

 avatar

Forkers

rodrigo-youse

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.