Skip to content
/ tango Public

Build a real-time chat application using Pusher channels

License

Notifications You must be signed in to change notification settings

ed3t/tango

Repository files navigation

TANGO

Tango is a twitter like app built with vue.js, graph.QL and Pusher implemented on laravel. I built this as a submission to the DEV.to contest

How to install

You have to clone the repo and install using composer - composer install after installation create a .env file by running cp .env.example .env then add your database details in it.

APP_NAME=TANGO
APP_ENV=local
APP_KEY=
APP_DEBUG=true
APP_LOG_LEVEL=debug
APP_URL=http://localhost

DB_CONNECTION=mysql
DB_HOST=localhost
DB_PORT=3306
DB_DATABASE=tango
DB_USERNAME=homestead
DB_PASSWORD=secret

BROADCAST_DRIVER=pusher
CACHE_DRIVER=file
SESSION_DRIVER=file
QUEUE_DRIVER=sync

Login to your pusher account create an app and fill in the following part of the .env file with your details

PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=
PUSHER_CLUSTER=eu

Now generate a key for your application running php artisan key:generate Then run the php artisan db:seed to seed the app with dummy datas To point the baseURL of axios http to your app url you have to edit resources/assets/js/utils/http.js file. By default it set to http://locahost:8000 Finally run php artisan serve to serve on http://locahost:8000.

Check out the DEMO

Enjoy :)

Like what I do?

Buy Me a Coffee at ko-fi.com

About

Build a real-time chat application using Pusher channels

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published