Tweets is a single page application that allow you to tweet your thoughts, ideas or anything you feel like sharing with the followers. Follow and manage what you want to see.
Clone this repository into your local machine.
Change the src/config.js
file with your credentials.
Make sure to set the callback url in twitter apps correct or leave it blank.
cd to_project_directory
npm install
npm start
Wait for the client dependencies to be installed and
visit http://127.0.0.1:5000
not the regular localhost:5000
in your browser.
- POST
api/auth/request_token
- POST
api/auth/login
- POST
api/auth/authenticate
- POST
api/auth/logout
- GET
api/users/:username
- GET
api/users/:username/followers
- GET
api/users/:username/follow_suggestions
- GET
api/users/:username/following
- GET
api/users/:username/tweets
- POST
api/users/:username/tweet
- POST
api/users/:username/follow
- POST
api/users/:username/unfollow
- GET
api/tweets/:id
- POST
api/tweets/:id
- POST
api/tweets/:id/like
- DELETE
api/tweets/:id
- GET
api/hashtags/trending
- GET
api/hashtags/:tag/tweets
- POST
api/comments/tweet/:tweetId
- POST
api/comments/:commentId/reply
- GET
api/comments/tweet/:tweetId
- GET
api/comments/:commentId/reply
- User can login using Twitter authentication.
- authentication persists across different tabs and for a returning user.
- User should be logged in to follow any user.
- User can get suggestions based on who they follow.
- User can follow upto 1000 users.
- No limit on no of followers a user can have.
- User should be logged in to perform any actions.
- User can create, like, comment , share on twitter and delete any tweet.
- User should be logged in to like.
- User can like any tweet they see.
- User should be logged in to comment.
- User can comment on any tweet.
- User can reply to comments.
- User should be logged in to share on their twitter.
- User can share any tweet they see.
- User can use hashtags in their tweets.
- Hashtags are linked in tweets while displaying.
- User gets news feed based on their activity and the activity of the users they follow.