Skip to content

Backend For Demo Chat Application (Fatalk), Integration With Firebase Cloud Messaging Server

License

Notifications You must be signed in to change notification settings

aginfo2/firebase_xmpp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Backend for Android App (Fatalk)

What is it about?

  • This Repo Is A Backend Implementation For A Demo Chat Android Application, Showing Integration With Firebase Cloud Messaging Service
  • It Also Includes Using AWS S3, To Upload Media Files From Client Side

Links

Setting Up

  • Install Erlang (Search Google)
  • Clone Repo
  • Execute Command make At Root Folder Location. This Will Download Required Dependencies.
  • To Run In A Console, Execute _rel/firebase_xmpp_release/bin/firebase_xmpp_release console
  • Execute Following Commands To Initialize Database And Settings
mnesia:stop().
mnesia:create_schema([node()]).
mnesia:start().
db:init().
  • Execute Command q(). To Quit For Now.
  • You'll Have A Settings File Named : settings.txt. It Contains All The Settings You Can Configure To Communicate With AWS & Firebase Cloud Messaging Service
  • If The fcm_connection_limit Is Set To 0 In settings.txt You May Initialize A New FCM Connection With Following Command: fcm_manager:create_fcm_process().
  • If AWS S3 Access Is Required, Provide Necessary Parameters In settings.txt And Configure Your Bucket To Have Public Access.
  • Set Log Levels verbose/info/debug/error To Control Logs In settings.txt
  • After Setting Up Parameters, Execute Console Command To Run

About

Backend For Demo Chat Application (Fatalk), Integration With Firebase Cloud Messaging Server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Erlang 92.1%
  • HTML 5.5%
  • JavaScript 1.8%
  • Makefile 0.6%