Skip to content

lossendae/Previously-on

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Previously-on

A stand alone responsive TV Show manager using :

  • Laravel
  • Angular
  • RequireJs
  • Thetvdb API (lien)
  • PhpThumb (lien)

Requirements

This package require the Laravel framework and a MySQL database.

The following versions of PHP are supported by this version.

  • PHP 5.4
  • PHP 5.5
  • PHP 5.6

Install

Via Composer

"repositories": [
    {
        "url": "https://github.com/lossendae/Previously-on",
        "type": "git"
    }
],
{
    "require": {
        "lossendae/previously-on": "dev-master"
    }
}

Config providers

In app/config/app.php Add Lossendae\PreviouslyOn\PreviouslyOnServiceProvider to the end of the $providers array.

Install command

$ php artisan pvon:install

Create the application users

For now the system use the native user driver bundled with the framework. Create any user you need via the CLI with access to all features.

$ php artisan pvon:admin username email password

You can access to the login page : http://your-url/

Routes can be changed to your preference via the config file in app/config/packages/lossendae/previously-on/config.php. The default route for the app require you to remove the default route from Laravel setup in app/routes.php.

You will also need to change the model key for the User class in auth config in app/config/auth.php to :

    'model' => 'Lossendae\PreviouslyOn\Models\User',

Update command

$ php artisan pvon:update

Todos before release

  • Nice error message for API search
  • Make it more maintainable (IndexPageController)
  • Change config to use the supplied user model (reduce db calls)
  • Remove Facade usage in Validator
  • Custom Exception handlers
  • Unit testing
  • Multi language in json response and Angular interface

Todos

  • Schedule page
  • Improve interactions (buttons...)
  • Multi language support
  • Delete confirm modal
  • Make it pluggable to 3rd party user management

License

The MIT License (MIT). Please see License File for more information.

About

A simple TV Show manager used as playground

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors