Simple card game with a leaderboard to showcase how a realtime table can be created with Pusher and Laravel.
JavaScript PHP HTML Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app initial commit Mar 15, 2017
bootstrap initial commit Mar 15, 2017
config initial commit Mar 15, 2017
database initial commit Mar 15, 2017
public initial commit Mar 15, 2017
resources removing stray app key Mar 17, 2017
routes initial commit Mar 15, 2017
storage initial commit Mar 15, 2017
tests initial commit Mar 15, 2017
.env.example updating readme Mar 17, 2017
.gitattributes initial commit Mar 15, 2017
.gitignore initial commit Mar 15, 2017
README.md updating readme Mar 17, 2017
artisan initial commit Mar 15, 2017
composer.json initial commit Mar 15, 2017
composer.lock initial commit Mar 15, 2017
package.json initial commit Mar 15, 2017
phpunit.xml initial commit Mar 15, 2017
server.php initial commit Mar 15, 2017
webpack.mix.js initial commit Mar 15, 2017
yarn.lock initial commit Mar 15, 2017

README.md

Laravel-Pusher Card Game and Leaderboard

Simple card game with a leaderboard to showcase how a realtime table can be created with Pusher and Laravel. To test this app locally:

  1. Clone this repo -- git clone https://github.com/olayinkaos/pusher-laravel-realtime-table.git.
  2. Copy .env.example to .env and configure your local environment variables, especially the database and pusher settings.
  3. Install all dependencies -- composer install && npm install
  4. Generate a new application key - php artisan key:generate
  5. Migrate the database tables and seed the database -- php artisan migrate --seed
  6. Edit in your Pusher App Key in resources/assets/js/bootstrap.js.
  7. Run using your local web server, or PHP's built-in option - php artisan serve