Coder Social home page Coder Social logo

movies-api-springboot's Introduction

API Rest de filmes

🚨 Requisitos

  • Banco de dados MySQL

🏗 O que foi desenvolvido?

Uma API rest com as seguintes funcionalidades:

  • Administrador
    • Cadastro
    • Edição
    • Exclusão lógica (desativação)
    • Listagem de usuários não administradores ativos
      • Registros paginados
      • Filtros por nome e login
  • Usuário
    • Cadastro
    • Edição
    • Exclusão lógica (desativação)
  • Filmes
    • Cadastro (somente um usuário administrador poderá realizar esse cadastro)
    • Voto (a contagem de votos será feita por usuário de 0-4 que indica quanto o usuário gostou do filme)
    • Listagem
      • Filtros por diretor, nome, gênero e/ou atores
      • Registros paginados
    • Detalhes do filme trazendo todas as informações sobre o filme

🖥 Endpoints

base_url : localhost:8080

Token

- [POST]    base_url/oauth/token
- [POST]    base_url/token/revoke

Filmes

- [GET]     base_url/filmes
- [GET]     base_url/filmes/{id}
- [POST]    base_url/filmes
- [PUT]     base_url/filmes/{id}
- [DELETE]  base_url/filmes/{id}

Usuarios

- [GET]     base_url/usuarios
- [GET]     base_url/usuarios/{login}
- [POST]    base_url/usuarios
- [PUT]     base_url/usuarios/{id}
- [DELETE]  base_url/usuarios/{id}

Votos

- [GET]     base_url/filmes/{id}/votos
- [GET]     base_url/usuario/{login}/votos
- [POST]    base_url/filmes/{id}/votar

movies-api-springboot's People

Contributors

brianmviana avatar imthiago avatar arlenmendes avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.