Skip to content
This repository has been archived by the owner on May 25, 2019. It is now read-only.

shalvah/stockt-audited

Repository files navigation

stockt-audited

Demo stock management app built with Laravel. The app has an audit dashboard that shows changes to all products in realtime. Tutorial link.

Prerequisites

Getting started

Clone the project and install dependencies:

git clone https://github.com/shalvah/stockt-audited
cd stockt-audited && 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/audits.blade.php:

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

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

Create an empty file, database/database.sqlite.

Then:

# generate an application key
php artisan key:generate

# run migrations and seed the database
php artisan migrate --seed

# start the app
php artisan serve

Built With

  • Pusher - APIs to enable devs building realtime features
  • Laravel - the PHP framework for web artisans 😎

About

[Demo] Stock management app built with Laravel, with a realtime audit dashboard

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published