THis project built with laravel
v.9
without any front end
Here You Can Download This Project postMan Collection
# | Title | Description |
---|---|---|
1 | name | |
2 | must be unique | |
3 | username | must be unique |
4 | type | default user type is user |
5 | avatar | user profile image |
6 | password |
# | Title | Description |
---|---|---|
1 | title | must be unique |
# | Title | Description |
---|---|---|
1 | user_id | users table Fk |
2 | category_id | categories table Fk |
3 | title | category title |
# | Title | Description |
---|---|---|
1 | user_id | users table Fk |
2 | story_id | stories table Fk |
# | Title | Description |
---|---|---|
1 | user_id | users table Fk |
2 | parent_id | used for Replying System |
3 | text | user comment text |
4 | commentable_id | for store stories fk |
1 | commentable_type | for store Model Class Name for example => `App\Models |
# | Title | Description |
---|---|---|
1 | follower_id | (followers) users table Fk |
1 | following_id | (following) users table Fk |
In This Project Used
Sanctum
Package
- Register Requirements
- email 📧
- password 🗝️
- avatar 👱♂️
- Admin (Administrator)
- User (Normal user)
After Seeding Database There will be 2 users type and Categories Dummy Data
# | password | type | |
---|---|---|---|
1 | admin@a.b | 123456 | admin |
2 | alireza@a.b | 123456 | user |
- Abilities
- Create categories
- See users
- See users with thier Stories
- See Single User Story With its Comments
- user abilities
-
Create Stories
-
Send Comment to a Story
-
Reply To a Comment
-
Follow Users
-
See Follower List
-
See Following List
-
Like a Story
-
See All Liked Stories
-
Seeing own Stories
-
- Home Abilities
- See
10
Latest Users Stories - Show Number Of Comments for Each Story
- Show Single Story With its Comments
- See a User Stories List
- Get Stories By Category
- See
- Must Implement Edit Section
- Must Implement Delete Section