Skip to content

xitui/shoots

 
 

Repository files navigation

shoots

Realtime spreadsheets app similar to Google Sheets.

View the tutorial: Part 1 Part 2 Part 3 Part 4

Description

  • Realtime spreadsheet editing by multiple users
  • "Who's viewing" the sheet, updated in realtime
  • New documents which are left empty are automatically deleted after leaving the page

Prerequisites

Getting started

Clone the project and install dependencies:

git clone https://github.com/shalvah/shoots
cd shoots && composer install

Copy the .env.example file to a .env file. Add your Pusher app credentials to this file:

PUSHER_APP_ID=your-app-id
PUSHER_APP_KEY=your-app-key
PUSHER_APP_SECRET=your-app-secret
PUSHER_APP_CLUSTER=your-app-cluster

Look for these lines of JavaScript in resources/views/spreadsheet.blade.php:

let pusher = new Pusher('your-app-key', {
    cluster: 'your-app-cluster'
});

Insert your Pusher app key and cluster in the appropriate places.

If your MongoDB server requires a username and password, add those in your .env file as the DB_USERNAME and DB_PASSWORD respectively.

Then:

# generate an application key
php artisan key:generate

# start the app
php artisan serve

Built With

  • Pusher - APIs to enable devs building realtime features
  • Laravel - the PHP framework for web artisans 😎
  • Handsontable - Spreadsheet component UI for web apps

About

[Demo] Google Sheets clone(-ish) powered by Pusher

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 77.5%
  • HTML 22.0%
  • Vue 0.5%