Hi:
“Share it!”
- Any user can register and start sharing their files.
- Immediately after registration the user should see the button "Upload file". After clicking on this button, the user should be redirected to the page with the file upload form.
- The form is represented by one single field - . The uploaded file must be no more than 10Mb and must not have the .exe, .bmp or .php extensions.
- After successful uploading of the file, the user should be given a unique short link to the file like “http://domain.com/1bh0k2I”. He can share it with other users. When clicking on this link, application should show a page with information about the file (the original name and time of upload), as well as the ability to download it. Regardless of whether the user is authorized or not.
- A registered user should be able to view the list of files uploaded by him, as well as the possibility to delete them. It should be available by clicking on the "My files" button. Application should also count the number of downloads of files.
- Technologies: PHP, MySQL, JS, CSS, HTML
- Libraries: Laravel 6.x, Twitter Bootstrap or Material, jQuery
- Using of migration for the database
- The result of the work should be published through Git (GitHub /BitBucket)
composer install
Rename it to .env
example : http://shareit.local
php artisan key:generate
This section must be completed :
DB_CONNECTION=mysql
DB_HOST=mysql
DB_PORT=3306
DB_DATABASE=share_it
DB_USERNAME=root
DB_PASSWORD=root
php artisan migrate
Check that these folders are available
- public/uploads
Its access level must be: 777
- storage/logs
Its access level must be: 777
- storage/framework
Its access level must be: 777
- storage/framework/sessions
Its access level must be: 777
php artisan serve
ui kit used : https://themes.getbootstrap.com/product/robust-ui-kit-dashboard-landing/
dbdiagram : https://dbdiagram.io/d/6065972cecb54e10c33e4755
Email : blackhat1520@gmail.com
New issues : https://github.com/p30web/Laravel-Project/issues