This project has been archived. If you're curious, check out one of my latest courses:
If you work with JavaScript, check out the fetch use cases and JavaScript projects.
Thank you! — Jad Joubran
Let's start by generating the Model & the migration file.
php artisan make:model Post -m
Then let's add the required fields to our migration file:
$table->string('title');
$table->text('description');
Then run the migration
php artisan migrate