- PHP v8.x
- composer v2.x
Clone the project localy
git clone https://github.com/ayoubmehd/twitter-clone.git
composer install
Create a mysql database, Copy .env.example to .env and put the database cofig in the new .env file
If you have docker & docker-compose installed just run
docker-compose up
this will start a mysql database with credentials username=root password=root
php artisan migrate
php artisan serve