In order to run this project you must have the following installed:
- PHP 7.1
- Composer
- npm
You should also setup a web server in order to host your local domain. For these purposes you can use Laravel Homestead or Valet.
Сlone GitHub repository locally:
cd into the project folder and install Composer dependencies by running:
$ composer install
Install npm dependencies:
$ npm install
Copy the contents of .env.example
file to new .env
file:
$ cp .env.example .env
Create an application encryption key:
$ php artisan key:generate
Create an empty database and fill in the DB_HOST
, DB_PORT
, DB_DATABASE
, DB_USERNAME
and DB_PASSWORD
fields in the .env
file to match the credentials of your newly created database.
Run the migrations:
$ php artisan migrate
Create a symbolic link from public/storage
to storage/app/public
:
$ php artisan storage:link
- AJAX file uploading (drag and drop support included)
- User registration
- Anonymous uploads as well as user uploads
- Showing files uploaded by user on the user page
- Viewing recently uploaded files
- Viewing specific file page
- Showing metadata for audio, video and image files (i.e. bit rate for audio file)
- Preview for image files, players for audio and video files
- AJAX comments and replies on the file page