Giter Club home page Giter Club logo

laravel-story-web-application's Introduction

Simple Story Laravel Web Application API

THis project built with laravel v.9

without any front end

Here You Can Download This Project postMan Collection

Database

Users Table

# Title Description
1 name
2 email must be unique
3 username must be unique
4 type default user type is user
5 avatar user profile image
6 password

Categories Table

# Title Description
1 title must be unique

Stories Table

# Title Description
1 user_id users table Fk
2 category_id categories table Fk
3 title category title

Story_likes Table

# Title Description
1 user_id users table Fk
2 story_id stories table Fk

Comments Table

# 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

Followers Table

# Title Description
1 follower_id (followers) users table Fk
1 following_id (following) users table Fk

Login / Register ๐Ÿ”‘

In This Project Used Sanctum Package

  • Register Requirements
    1. email ๐Ÿ“ง
    2. password ๐Ÿ—๏ธ
    3. avatar ๐Ÿ‘ฑโ€โ™‚๏ธ

User Types ๐Ÿ•ต๏ธโ€โ™‚๏ธ

  1. Admin (Administrator)
  2. User (Normal user)

After Seeding Database There will be 2 users type and Categories Dummy Data

# email password type
1 [email protected] 123456 admin
2 [email protected] 123456 user

Admin ๐Ÿ‘จโ€๐Ÿ’ป

  • Abilities
    1. Create categories
    2. See users
    3. See users with thier Stories
    4. See Single User Story With its Comments

User ๐Ÿ™‹โ€โ™‚๏ธ

  • user abilities
    1. Create Stories

    2. Send Comment to a Story

    3. Reply To a Comment

    4. Follow Users

    5. See Follower List

    6. See Following List

    7. Like a Story

    8. See All Liked Stories

    9. Seeing own Stories

Home Page ๐Ÿš๏ธ

  • Home Abilities
    1. See 10 Latest Users Stories
    2. Show Number Of Comments for Each Story
    3. Show Single Story With its Comments
    4. See a User Stories List
    5. Get Stories By Category

Todo

  • Must Implement Edit Section
  • Must Implement Delete Section

laravel-story-web-application's People

Contributors

abbasfisal avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

chinekwe01

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.