Skip to content

surbina/turbi-chat

Repository files navigation

turbi-chat

Turbi Chat is a simple chat application that lets you connect to other people anonymously. We don't keep track of you or anybody else!

You can check a live demo of this application here.

Technology Stack

Development

Download source code and install application

If you want to run locally this application you can follow these instructions. First, you'll need to clone the repo:

git clone git@github.com:surbina/turbi-chat.git

After that, move inside your application directory and install the application:

cd turbi-chat
npm install

Set up Firebase project

Then you'll need to create a Firebase project. You can follow the instructions here: https://firebase.google.com/docs/web/setup.

Once you have created your Firebase project you should be able to get the configuration for you project which includes the following values:

var config = {
  apiKey: "<API_KEY>",
  authDomain: "<PROJECT_ID>.firebaseapp.com",
  databaseURL: "https://<DATABASE_NAME>.firebaseio.com",
  projectId: "<PROJECT_ID>",
  storageBucket: "<BUCKET>.appspot.com",
  messagingSenderId: "<SENDER_ID>",
};

Using those values you'll have to create a .env file. For this create a copy of the .env.tpl file in the root of the repository and update the values using your owns.

Finally you'll need to set up the Cloud Firestore, you can follow the instructions here to achieve this: https://firebase.google.com/docs/firestore/quickstart

Run

After everything is in place you should be able to run the application with this command:

npm run start

About

A simple web chat

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published