Tweteroo_spring-api

Build With

features developed

  • Create user
  • Create Tweet
  • GET the 5 last Tweets
  • GET all user Tweets

Getting Started

To clone the project, run the following command:

git clone https://github.com/NinaS23/Tweteroo_spring-api.git

Then navigate to the project file in ApiApplication.java and:

run the project

  ☰   Request

Base url

 http://localhost:8080
Method HTTP POST
Path /sign-up
{
  "username": "spongeBob",
  "avatar": "https://super.abril.com.br/wp-content/uploads/2020/09/04-09_gato_SITE.jpg?quality=70&strip=info"
}
Mmethod HTTP POST
Path /tweets
{
  "username": "spongeBob",
  "tweet": "I love hub"
}
Method HTTP GET
  • to get last 5 tweets
 http://localhost:8080/tweets?page=1
Method HTTP GET
  • to get all user tweets
http://localhost:8080/tweets/spongeBob