Skip to content

Vipul-Tandon/blog

Repository files navigation

Blog App

A rails application with CRUD functionalities where users can register and submit their articles and other users can comment on those articles.

Features

  • 1. Signup + validation on of length, format of email, password, mobile no

    • 1.1 Account verification using link(recommended) or OTP(alternate option)
  • 2. Login + validation on email and password format

    • 2.1 JWT for authentication and authorization
    • 2.2 Forgot password controller => Action1 - for sending OTP on email, Action2 - for verifying OTP and resetting the password
  • 3. Account update using authorisation token

    • 3.1 Refresh token concept incase of token gets expire (learn and implement)
  • 4. Create, update and delete Post

    • 4.1 Read all post and add pagination
    • 4.2 Comments (CRUD) on post
    • 4.3 Like and unlike on Posts and comments (use polymorphic association)
    • 4.4 seprate api for getting all likes on post and comments
  • 5. Add friends - request would be in pending, accepted and decline

    • 5.1 if decline can send friend request again after 30days
    • 5.2 Block user and remove from friend list. so after unblocking also user will not be in his friend list.
  • 6. Make post public, private and only_friends

  • 7. Share post( public and only_friend only)

    • 7.1 if share post of friend , after unfriend share post should be removed. Or can set set the status of shared post deactivated so that when they become friend again shared post can be visible in his profile. This happens in linkedin if we add some skills and people endorse on that skill. after endorsing we remove it and add again then people who have endorse on that skill will still be visible
  • 8. we can attach the profile_pic and cover_pic with account

    • 8.1 we can attach image/images with post and comments
    • 8.2 we add reaction instead of likes like fb,linkedin,etc do
  • 9. Repost user - if more than 100 user reported him then account will be blocked

    • 9.1 Report post - if more than 100 user report a post make that post restricted, even author of the post can't see
  • 10. limitation on post read by user. free_user - 10 post per_day, premium_user - unlimited. Each day free_user gets credit of 10 post (using sidekiq and cron )

  • 11. subscription for user - free and premium (stripe payment integration) integration)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •