Sign inSign up

henriquesebastiao/madr

By henriquesebastiao

•Updated almost 2 years ago

Projeto final do curso FastAPI do Zero.

Image
0

813

henriquesebastiao/madr repository overview

⁠Meu Acervo Digital de Romances

Repositório: https://github.com/henriquesebastiao/madr/⁠

Link do deploy: https://madr.henriquesebastiao.com/⁠

Projeto final do curso FastAPI do Zero⁠

⁠Endpoints

⁠Autenticação e autorização
  • POST /token
  • POST /token_refresh
⁠Contas
  • POST /contas/
{
  "username": "string",
  "email": "[email protected]",
  "password": "string"
}
  • PUT /contas/{user_id}
{
  "username": "string",
  "email": "[email protected]",
  "password": "string"
}
  • DELETE /contas/{user_id}
⁠Romancistas
  • POST /romancistas/
{
  "nome": "string"
}
  • GET /romancistas?nome=xxx

  • GET /romancistas/{romancista_id}

  • PATCH /romancistas/{romancista_id}

{
  "nome": "string"
}
  • DELETE /romancistas/{romancista_id}
⁠Livros
  • POST /livros/
{
  "ano": 0,
  "titulo": "string",
  "romancista_id": 0
}
  • GET /livros/{livro_id}

  • GET /livros?titulo=xxx&ano=iiii

  • PATCH /livros/{livro_id}

{
  "ano": 0,
  "titulo": "string",
  "romancista_id": 0
}
  • DELETE /livros/{livro_id}

Tag summary

Content type

Image

Digest

sha256:15f1f163b…

Size

143.6 MB

Last updated

almost 2 years ago

docker pull henriquesebastiao/madr