Skip to content

RyanDC1/Chat-Application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Note: API key required

Dash chat

A chatapp in flutter using firebase API.

Aim

To Create a mobile application where users can chat with each other.

Introduction

Firebase provides real-time database service. The chat application communicates with firebase API and obtains all the messages present in the firebase collection. Upon compsing a message we can add messages to a collection which can be recived by other users.

Working

As flutter allows you to build native applications, this chat application is compatible with Android, Ios and web applications.
The signIn methods can be changed from firebase console. Firebase also authenticates the user upon login. The registration class is similar to the signin class and only differs in firebase syntax to create a new user using email-id and password.

When a user Sends a message, the text, users name and the timestamp is sent to the firebase collection.
The receiver will receive the messages in order of their timestamp. The project code is present in lib\main.dart

Technologies Used

Flutter - open-source UI software development kit.
Firebase - provides a real-time database and back-end as a service.
Dart - Programming language for flutter apps

Refrences:

https://www.youtube.com/watch?v=1bNME5FWWXk -Author: Tensor Programming
https://flutter.dev/docs
https://firebase.google.com/docs/firestore/using-console
https://medium.com/jlouage/container-de5b0d3ad184 -Author: Julien Louage
https://medium.com/flutter-community/flutter-raisedbutton-cookbook-7c3d4a82b26f Author: Aneesh Jose
https://www.youtube.com/watch?v=DqJ_KjFzL9I&feature=youtu.be

A few screenshots of the application.

Screenshots