Skip to content

rickyseezy/chat-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flutter BLoC live chat demo

This a simple approach of implementing live chat in flutter apps using flutter_bloc package and socket.io library.

Introduction

What's in the box ? A minimal WebSocket server written in go. Inside this server we'll only handle one type of event which is message. We will have a socket connexion open once our widget is called then we'll close it once we done with it.

Warning ⚠️

For some reasons it doesn't work on Android emulator

Getting Started

Clone this repository

Installation

install dependencies

flutter pub get

generate files

flutter pub run build_runner build --delete-conflicting-outputs

Start the server

Launch your favorite GoLang IDE, copy the files inside the server folder, then ..

go run main.go

The server will run on port :8000

Libraries

Stay in touch with me 😊

e-mail: [email protected]
LinkedIn: Soma Bini

About

This is a very simple approach of using flutter flutter_bloc and socket.io

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published