Clone of twitter using Next js
- user can create his own profile
- user can add their images locally
- user can add tweet using text or text and image both
- user can comment, like, retweet, and bookmarks the tweet
- user can add comments to tweet
- user can see other user profile
- all page can be viewed after login in
- user can follow the other user
Method | Parameter | Type | Description | Router |
---|---|---|---|---|
GET |
No Need | JSON |
Give all tweets | /api/tweets |
GET |
tweet id | JSON |
Give tweet by the Id and comments | /api/tweets/${id} |
GET |
authorId | JSON |
Give the user details | /api/profile/${id} |
Clone the project
git clone https://github.com/harsh-vish14/tweeter.git
Go to the project directory
cd tweeter
Install dependencies
npm install
Start the Project in developement
npm run dev