Coder Social home page Coder Social logo

zhiru / laravel-realtime-chat-demo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jplhomer/laravel-realtime-chat-demo

0.0 2.0 0.0 297 KB

Realtime chat demo using Laravel 5.4, VueJS and Pusher

Home Page: https://jplhomer.org/2017/01/building-realtime-chat-app-laravel-5-4-vuejs/

PHP 76.39% ApacheConf 0.54% JavaScript 2.30% Vue 2.19% HTML 18.59%

laravel-realtime-chat-demo's Introduction

Realtime Chat Demo with Laravel 5.4, VueJS, and Pusher

Check out the article here.

Development

  1. Clone or fork this repository

  2. Run composer install

  3. Run php artisan key:generate

  4. Fill out relevant items in your .env file, including:

    DB_CONNECTION
    PUSHER_APP_ID
    PUSHER_KEY
    PUSHER_SECRET
    
  5. Run npm i

  6. Build assets with npm run dev

  7. Use php artisan serve or another method to view the app in the browser

Important Notes

  • You will need to set your environment variables in the .env file! Don't forget to change the broadcasting settings to Pusher, for example.
  • Depending on your geographical location, you will need to set a cluster variable for Pusher. See Laravel Docs for more information
  • I don't have time to provide help/support since this is a free project, but I encourage you to watch the videos and make sure you've followed all the steps.

laravel-realtime-chat-demo's People

Contributors

jplhomer avatar zhiru avatar

Watchers

 avatar  avatar

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.