Git Product home page Git Product logo

currency_rates's Introduction

Getting Started πŸš€

If you are running the project for the first time and you do not have anything installed to work with flutter, you need to run this command:

Build

Flutter version: 3.13.5

P.S. make sure you have xcode and android studio installed

make bootstrap

P.S. this script only for mac

Development

Set Additional run args from Edit configuration menu as --dart-define=ENV=dev (prod, uat, dev)

Make a copy of the file cp .env.example .env You need to specify the values ​​for the keys in the file:

  • API_KEY - key for working with api

This command need for update all generated files:

make gen-force

For cleaning all dependencies, you can call the command:

make clean

Use the following commands to run the project:

fvm flutter pub upgrade
make gen-force
fvm flutter run --release

If you are working through VSCode, you can run the project through the schema, but before that, do not forget to run the commands:

fvm flutter pub upgrade
make gen-force

Project information

Theme

To work with color or styles, you must use context:

context.colors.white;

context.themeData.header.black;

Information with styles is stored in the directory /common/theme

Config

To add new settings, you need to add parameters to the directory /common/constant

DI

To work with DI, injection is used. Job descriptions can be found /common/injection

If you need to create a singleton object, then you need to add the @singleton prefix above the class for all other cases of @injection

Navigation

The go_router package is used for navigation. The description of all routes is described in the general file in the directory /common/router

Feature

To create a new feature, use the command

make add-feature name=#the name of your feature

DTO

To create a new dto, use the command

make add-dto name=#the name of your dto

API

To create a new api, use the command

make add-api name=#the name of your api

After that, you need to add the key for your api in the lib/common/network/fake_api_manager.dart file.

currency_rates's People

Contributors

kovalenko-tech avatar

Watchers

 avatar

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.