VictorAlonsoCM / simple-ionic-firebase-chat-app

This a simple ionic aplication for chat, which includes the creation of rooms for chat and it is implemented with firebase

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

simple-ionic-firebase-chat-app

This project was created using Ionic 3 and Angular 5 and with an implementation of Firebase for saving our data.

The source code is part of Build Ionic 3, Angular 5 and Firebase Simple Chat App tutorial.

To run on the device:

  • Clone this repository
  • Run this command npm install
  • Modify src/app/app.component.ts then change Firebase parameters to meet your Firebase account
  const config = {
    apiKey: 'YOUR_APIKEY',
    authDomain: 'YOUR_AUTH_DOMAIN',
    databaseURL: 'YOUR_DATABASE_URL',
    projectId: 'YOUR_PROJECT_ID',
    storageBucket: 'YOUR_STORAGE_BUCKET',
  };
  • Run this command ionic cordova platform rm android, ionic cordova platform add android, ionic cordova platform rm ios, ionic cordova platform add ios
  • Run this command ionic cordova run android or ionic cordova run ios

Or if you do not want to generate a mobile file, then run this command to see the application in your browser ionic serve

About

This a simple ionic aplication for chat, which includes the creation of rooms for chat and it is implemented with firebase

License:MIT License


Languages

Language:TypeScript 42.3%Language:CSS 28.0%Language:HTML 25.7%Language:JavaScript 3.9%