Coder Social home page Coder Social logo

chat-on-angular's Introduction

ChatOnAngular

Instant chap app developed on angular and firebase

✨ Built With

Angular
Angular
Firebase
Firebase

🖼️ Screenshots

image image

Demo

Customer side - https://mucoban.github.io/chat-on-angular

Agent side - https://mucoban.github.io/chat-on-angular/chat-on-angular/agent

Usage

Firebase

Create a firebase realtime database on https://firebase.google.com and create a user for customers, and one or more users for agents on authentication page. Then create agent, customers properties on that database and fill them with user emails that you just created.

Environment.ts

copy /src/environments/environment.example.ts file as environment.ts, environment.prod.ts
and fill environment.firebase object with your firebase project credentials.

Fill environment.customer value with the email and the password of the account that you created for your customers in your firebase project.

If you want to get an email when a customer starts a chat, fill environment.formspreeApiUrl property with your link that you will get from https://formspree.io

export const environment = {
  production: false,
  firebase: {
    apiKey: "",
    authDomain: "",
    databaseURL: "",
    projectId: "",
    storageBucket: "",
    messagingSenderId: "",
    appId: ""
  },
  customer: { email: '', password: '' },
  formspreeApiUrl: '',
};

Deployment

Build your angular project with command ng build and upload contents of your /dist folder to where you want to serve your chat app. Use /agent route to access agent panel.

To integrate chat app on a page or website, you can have look at example-page/index.html file to see the implematation

chat-on-angular's People

Contributors

mucoban avatar

Stargazers

Evan avatar

Watchers

 avatar

chat-on-angular's Issues

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.