Sahil-kachhap / MockTradeX

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mock_tradex

A new Flutter project.

App Screens

Graph Screen

Exchange Screen

News

Trade

Index

Login

Get Your Copy

  • Fork this repo
  • Clone the repo

Getting Started

Understanding the lib folder:

  1. Presentation Folder -> this folder will contain all the code for screen UI (in Presentation/Screen Folder) and some common widgets (under Presentation/Widgets Folder).

  2. Buisness_Logic Folder -> This Folder will have all the logical components of our application. BLOC will be used for state management purpose.

  3. Data Folder -> This Folder contains Data_Provider, Models and Repositories as subFolder.

  • Data_Provider encapsulates all the source files from where data needs to be fetched like an API, or from Database

  • Repositories transforms the data fetched by Data_Provider into a model using the Models made in Model Folder.

WorkFlow

  • Presentation Layer asks for any sort of Data From Buisness_Logic Layer which in turn Send this request to Data Layer

  • Here, Under Data layer Repositories Folder models the data fetched by data_provider layer and sends back to Buisness_logic layer which is returned to Presentation Layer which then gets rendered on the screen.

Local Clone Setup

  • After Cloning this repo into your local system
  • Create a branch from master and switch into it - git checkout -b your-name/feature-name (eg: git checkout -b sahil/building_HomeScreen)
  • it needs to be kept in your mind no code should be commited on the master branch.
  • do your work in your feature branch.
  • once done, add all changes using this command --> git add .
  • then run: git commit -m "short description of your work"
  • git push origin master
  • Create a PR

About


Languages

Language:Dart 97.9%Language:HTML 1.8%Language:Swift 0.2%Language:Kotlin 0.1%Language:Objective-C 0.0%