You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Simple social media API to share information thought post and comment belongs to user. The application also count hashtags based on posts and comments. Trending hashtags is hashtags order by counter in last 24 hours.
User stories
As a user, I want to save my username, email, and bio description.
Authentication and authorization is out of scope of this story and you don’t need to implement them
As a user, I want to post a text that might contain hashtag(s).
Maximum limit of a text is 1000 characters
A hashtag is a text that is followed by # symbol and case-insensitive, for instance: #generasigigih == #GenerasiGigih
As a user, I want to see all posts that contain a certain hashtag.
A user can only filter by one hashtag at a time
As a user, I want to see the list of trending hashtags.
Trending hashtags are the top 5 most posted hashtags in the past 24 hours
A post containing multiple instances of a hashtag only counts as 1 occurrence for trending hashtags calculation
As a user, I want to comment on a post
A comment can contain hashtag(s)
A hashtag occurrence in a comment is counted in trending hashtags calculation
As a user, I want to attach things to a post and comment
Three kinds of attachment are allowed: pictures (jpg, png, gif), video (mp4), and file (any other extensions outside of pictures and videos)