A server side Twitter clone built to practice Laravel
- PHP 8+
- Laravel 8
- composer
- MySQL
- node & npm
- Install dependencies
composer install
npm install && npm run dev
- Create a database called 'tweety' and add your credentials to your
.env
filecp .env.example .env
- Generate your app key
php artisan key:generate
- Migrate the tables to your database
php artisan migrate
- Optional - add some dummy data with tinker and model factories.
php artisan tinker
App\Models\Tweet::factory()->count(10)->create()
- Run the app in your local port
php artisan serve