go-tin

command module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 1, 2019 License: MIT Imports: 9 Imported by: 0

README

go-tin

Build Status Coverage Status Go Report Card GoDoc Licence

Go-tin is new, one of a kind social network developed as a project for FMI course Clean Code in 2019. The project is currently in active development, for up-to-date status you can visit the dev branch.

Database schema

db_model

REST API

At first you will authenticate on each call with Basic Authentication

  • You can register in the application.
    • POST /v1/users
  • You can post text quotes on your profile.
    • POST /v1/posts
  • You can follow a user.
    • PUT /follow/{username}
  • You can unfollow a user.
    • DELETE /follow/{username}
  • You can query posts of all users you follow hronologically.
    • GET /posts
  • You can query your followers.
    • GET /followers
  • You can query the users you follow.
    • GET /following
  • You can query a single user by username.
    • GET /users/{username}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
storagefakes
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL