GithubHelp home page GithubHelp logo

spixz / global-tchat-flutter-app Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 933 KB

Global tchat application build with Flutter, Riverpod and Firebase.

License: GNU General Public License v3.0

Kotlin 0.09% Swift 0.97% Objective-C 0.02% Dart 75.59% CMake 9.34% C++ 11.51% C 0.70% HTML 1.27% JavaScript 0.09% CSS 0.41%

global-tchat-flutter-app's Introduction

GlobalTchat

Web demo

second screen group

Messaging app (web/android) based on Whatsapp style using firebase and based on an implementation of the Riverpod Architecture from Andrea Bizzotto.

Features

  • Realtime Messaging
  • Group conversations
  • Send pictures
  • “Was read” indicator

Architecture

Architecture-transparant

Presentation Layer

It contain at least a view, a state and a controller.

The view represents the page itself. The logic of this view is managed by a Controller. This controller contains an immutable state (a class that contains variables). The view can read the state but can only modify it via the controller. Each time the state is modified, the widget is rebuilt.

Example with create conversation : view, controller, state

Domain Layer

Contains the defitions of the entities / objects used by the views, controllers. These objects are immutable in order to be able to propagate state changes in our application. The modification of a state is done by copy.

Model Layer

Communicates with external APIs (REST API, Local Storage API, ...) and converts the received data into models from the layer domain.

global-tchat-flutter-app's People

Contributors

spixz avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

dungpham259

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.