A simple social media application built using Laravel, featuring user authentication, post management, and commenting functionalities.
-
Users
id
(Primary Key)name
email
password
-
Posts
id
(Primary Key)user_id
(Foreign Key)title
body
-
Comments
id
(Primary Key)- 'user_id' (Foreign Key)
post_id
(Foreign Key)text
- Sign Up New Account
- Login
- Create, Edit, and Delete Posts (Users can only edit/delete their own posts)
- Add, Edit, and Delete Comments (Users can only edit/delete their own comments; Post owners can delete any comment on their posts)
Displays posts from all users. Logged-in users can view and comment on posts.
Shows post details and a list of comments. Users can add comments here.
This project provides essential social media features using Laravel, focusing on user interaction with posts and comments. Explore and expand it further as needed!