/vid-hub

Video Hub, this project I dedicate to learn React with Laravel and InertiaJs

Primary LanguagePHP

Video Hub

Framework Link
Laravel v.10 https://laravel.com
React v.18 https://react.dev/
Inertiajs https://inertiajs.com/

Table of contents

Prerequisites

  • PHP ≥ 8.1
  • Node ≥ 16.10

If Using VSCode Please install these extensions on your code editor :

Setup

  1. Clone This Repository:
$ git clone https://github.com/akhmadrizki/vid-hub.git
  1. Copy file .env.example to .env:
$ cp env-example .env
  1. Install all package
$ composer install

Database setup

...
DB_DATABASE=db_market
DB_USERNAME=root
DB_PASSWORD=
...
  • Run this command:
$ php artisan key:generate
$ composer dump-autoload
$ php artisan migrate:fresh --seed
$ php artisan storage:link

Running the app

$ php artisan serve