The project was created on the basis of the course "Facebook Clone with Laravel, TDD, Vue & Tailwind CSS" Course author: Victor Gonzalez on Udemy.com.
The requirements to application is:
$ git clone https://github.com/evgeniizab/laravel.myfacebook.git
$ cd laravel.myfacebook
$ composer install
$ npm install
Copy .env.example to .env
$ cp .env.example .env
Edit .env
DB_CONNECTION=mysql
DB_HOST=XXXX
DB_PORT=3306
DB_DATABASE=XXXX
DB_USERNAME=XXXX
DB_PASSWORD=XXXX
Create the database before run artisan command.
$ php artisan migrate
Generate your application encryption key:
$ php artisan key:generate
Run the commands necessary to prepare Passport for use:
$ php artisan passport:install
Create the symbolic links configured for the application:
$ php artisan storage:link
$ mkdir ./public/storage/user-images/ && mkdir ./public/storage/post-images/
./vendor/bin/phpunit
Drop and create the database before open the application in a browser
$ php artisan db:wipe
$ php artisan migrate --seed
$ npm run dev
Use: a@a.ru 12345678