- Register an account
- Login
- Create a post
- Edit a post
- Delete a post
- Like a post
- Comment on a post
- Delete a comment
- Logout
php artisan make:model User -cfms
- C : Controller
- F : Factory
- M : Migration
- S : Seeder
- Users
- id
- first_name
- last_name
- password
- profile_url
- phone_number
- date_of_birth
- created_at
- updated_at
- Posts
- id
- title
- content
- image_url
- user_id
- created_at
- updated_at
- Likes
- id
- user_id
- post_id
- created_at
- updated_at
- Comments
- id
- user_id
- post_id
- text
- created_at
- updated_at