Giter VIP home page Giter VIP logo

desafio-pedidos's Introduction

desafio-pedidos

Rest API

API desenvolvida utilizando java 8, springboot, spring data, spring security, lombok, swagger, flyway, mysql e deploy no heroku. Para autenticação, foi utilizado o flow Password do oauth2.

OAuth2 - Password flow
token url: https://desafio-pedidos.herokuapp.com/api/oauth/token
client id: $2a$10$f.U73hGiJNsjoD3NTJoz2e6DNdPbWRqEbdJplGQ2dmg.wXoc6qJQ6
secret id: $2a$10$bST.xIbU4lS7L9GLWETuL.4L5hUmUP.Q8FMOfAt4JvzybGKaENs0q

usuário - perfil (USER) - acessos: api/pedidos
username: usu@usuario
pass: 123

usuário - perfil (ADMIN) - acessos: api/produtos; api/categorias; api/clientes; api/pedidos.
username: usu@admin
pass: 123

Collection Postman
https://www.getpostman.com/collections/b16f8fafa3da12b20a28

Próximas features:
-melhorias na documentação da api (swagger) com autenticação oauth2.
-melhoria na cobertura de código (testes unitários).
-implementação de controle de estoque de acordo com pedidos.

#Repositórios utilizando tecnologia similares:
https://github.com/viniciusde/expense-service (api de despesas)
https://github.com/viniciusde/expense-webclient (client com thymeleaf, spring 5 reativo).

desafio-pedidos's People

Contributors

viniciusde 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.