An open API service indexing awesome lists of open source software.

https://github.com/ammezie/pusher-group-chat

A simple group chat app using Vue.js and Pusher
https://github.com/ammezie/pusher-group-chat

expressjs nodejs pusher vuejs2

Last synced: 16 days ago
JSON representation

A simple group chat app using Vue.js and Pusher

Awesome Lists containing this project

README

        

# Pusher Group Chat

A simple group chat app using Express, Vue.js and Pusher. Follow the tutorial [https://pusher.com/tutorials/group-chat-javascript](https://pusher.com/tutorials/group-chat-javascript)

## Getting Started

Clone the project repository by running the command below if you use SSH

```bash
[email protected]:ammezie/pusher-group-chat.git
```

If you use https, use this instead

```bash
https://github.com/ammezie/pusher-group-chat.git
```

After cloning, run:

```bash
npm install
```

Duplicate `.env.example` and rename it `.env`

### Prerequisites

#### Setup Pusher

If you don't have one already, create a free Pusher account at [https://pusher.com/signup](https://pusher.com/signup) then login to your dashboard and create an app.

Then fill in your Pusher app credentials in your `.env` file:

```bash
PUSHER_APP_ID=xxxxxx
PUSHER_APP_KEY=xxxxxxxxxxxxxxxxxxxx
PUSHER_APP_SECRET=xxxxxxxxxxxxxxxxxxxx
PUSHER_APP_CLUSTER=xxxxxxxxxxxxxxxxxxxx
```

Also, remember to fill in other additional options in `server.js`:

```bash
// server.js

encrypted: true
```

And finally, start the application:

```bash
npm start
```

and visit [http://localhost:3000/](http://localhost:3000/) to see the application in action.

## Built With

* [Pusher](https://pusher.com) - APIs to enable devs building realtime features
* [Express](https://expressjs.com) - Fast, unopinionated, minimalist web framework for Node.js
* [Vue.js](https://vuejs.org) - The Progressive JavaScript Framework

## Acknowledgments

* [Bootsnipp chat snippet](http://bootsnipp.com/snippets/featured/collapsible-chat-widget)