GithubHelp home page GithubHelp logo

group-chat-app-laravel-pusher's Introduction

Group Chat using Laravel and Pusher

This repository demonstrates the process to create a realtime Group Chat Application using Laravel and Pusher. Please follow below steps to have a running version of the app in this repo

  1. Clone repo
  2. Configure your environment variables for Pusher and Laravel by copying the .env.example to .env
  3. Configure your Pusher key in the resources/assets/js/bootstrap.js file
  4. Install composer dependencies
  5. Run npm install
  6. Do not forget to run the queue listener to broadcast the events

group-chat-app-laravel-pusher's People

Contributors

viraj-khatavkar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

group-chat-app-laravel-pusher's Issues

WebSocket connection to ´wss://ws-your-pusher-app-cluster.p [...]' failed: Error in connection establishment: net::ERR_NAME_NOT_RESOLVED

Tried the tutorial at blog.pusher and wanted to test first the repository.
git cloned it, configured everything, pusher keys, cluster and db and I'm getting an error, in console:

app.js:33022 WebSocket connection to 'wss://ws-your-pusher-app-cluster.pusher.com/app/your-pusher-key?protocol=7&client=js&version=4.1.0&flash=false' failed: Error in connection establishment: net::ERR_NAME_NOT_RESOLVED

followed by
app.js:34627 OPTIONS https://sockjs-your-pusher-app-cluster.pusher.com/pusher/app/your-pusher-key/181/m3mgqno5/xhr_streaming?protocol=7&client=js&version=4.1.0&t=1504896024763&n=1 net::ERR_NAME_NOT_RESOLVED

Any ideas?

Make one channel (group chat only)

Brilliant job Viraj!

One question, is it possible to create a predefined group chat where all users are connected?
Like a common channel/room for the users all together?

Kind Regards

CS

How to recorded data of group_user_table?

I cloned this repository to my local, and working properly.

But I'm not sure how the data of group_user_table is recorded?

I can see there is no any special codes for that.

Hope to hear soon

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.