Giter Club home page Giter Club logo

lojajwtapi's Introduction

PLUGIN

https://www.positronx.io/laravel-jwt-authentication-tutorial-user-login-signup-api/

Endpoints

[get] /api/lojas

[post] - /api/addLoja?nome="nomedaloja"
[delete] - /api/delLoja?nome="nomedaloja"
[put] - /api/updateLoja?loja_id=0&nome="novoNomedaloja"

//---------------------------------------------------------------------- [get] - /api/deptos

[post] - /api/addDeptos?nome=Cozinha&loja_id=2
[delete] - /api/delDepto?nome=Delete
[put] - /api/updateDepto?nome=Cozinha e jantar&departamento_id=5

//----------------------------------------------------------------------
[get] - /api/Produto
/api/Produto?filter=loja&busca_id=2&tpp=10
/api/Produto?filter=departamento&busca_id=2&tpp=10
/api/Produto?filter=produto&busca_id=1&tpp=10

[post] - /api/addDProduto?nome=meia&preco=10.50&imagem=/imagens/meia.jpg&loja_id=2&departamento_id=4
[delete] - /api/delProduto?id=2
[put] - /api/updateProduto?nome=meia soquete&preco=9&imagem=/imagens/meiasoquete.jpg&id=1

//----------------------------------------------------------------------

AUTH JWT

[POST] /api/auth/register?name=Nome&email=[email protected]&password=admin123&password_confirmation
[POST] /api/auth/login?email=[email protected]&password=admin123 [GET] /api/auth/user-profile
[POST] /api/auth/refresh
[POST] /api/auth/logout

lojajwtapi's People

Contributors

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