Skip to content

timwangmusic/Mini-Twitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mini-Twitter

A simple twitter backend RESTful service in Golang, powered by Gin

  • User sign-up

    • POST /users
    • Request body
      {
            "username": "Bradley",
            "password": "33521",
            "email": "bcooper@gmail.com"
      }
  • Post tweet in text

    • POST /tweets
    • Request body
      {
            "user": "Bradley",
            "text": "let's rock!"
      }
  • Access timeline

    • GET /timeline/username
  • Access tweets

    • GET /tweets/username
  • Follow and Unfollow users

    • POST users/follow and users/unfollow
    • Request body
      {
         "from": "Bradley",
         "to": "Duncan"
      }

About

A simple Twitter-like backend service in Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published