Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 966 Bytes

README.md

File metadata and controls

39 lines (29 loc) · 966 Bytes

fireChat

Real-time chat app using VueJS Vuex and Firebase. This's a simple implementation with more modifications coming soon :)

Installation

  1. Clone the repository to <yourdocumentroot>
git clone https://github.com/giddyeffects/rtchat.git <yourdocumentroot>`
  1. Change directory to <yourdirectoryroot> and create a config.js file in the src folder with the contents
  // Firebase config
  const config = {
    apiKey: "<Your API KEY>",
    authDomain: "<your-project-id>.firebaseapp.com",
    databaseURL: "https://<your-project-id>.firebaseio.com",
    projectId: "<your-project-id>",
    storageBucket: "",
    messagingSenderId: "<Your Messaging Sender ID>"
  };

  export default config
  1. Install dependencies and serve/build project
# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build