Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Definir End-points da API #28

Open
Igorxp5 opened this issue Sep 14, 2019 · 3 comments
Open

Definir End-points da API #28

Igorxp5 opened this issue Sep 14, 2019 · 3 comments
Assignees
Labels
api Issues related to API

Comments

@Igorxp5
Copy link
Owner

Igorxp5 commented Sep 14, 2019

No description provided.

@Igorxp5 Igorxp5 added the api Issues related to API label Sep 14, 2019
@Igorxp5 Igorxp5 added this to the Iteração 1 milestone Sep 14, 2019
@Igorxp5
Copy link
Owner Author

Igorxp5 commented Sep 22, 2019

Baseado no Diagrama Entidade Relacional (#25) pensei nas seguintes rotas para API.

[LOGIN]
POST /login
Ao realizar o login um JWT Token será retornado para ser usado nas requisições. O Token conterá o user que está logado, e o tempo de expiração.

A documentação de todas as rotas estão sendo construídas o usando o Postman: https://documenter.getpostman.com/view/9016809/SVtR3WT9

Referências:
https://blog.mwaysolutions.com/2014/06/05/10-best-practices-for-better-restful-api/

@Igorxp5
Copy link
Owner Author

Igorxp5 commented Oct 29, 2019

Mock server para teste: https://1f39fbc4-fe5a-43d6-9878-4e140203e754.mock.pstmn.io

@Igorxp5
Copy link
Owner Author

Igorxp5 commented Nov 18, 2019

A documentação do Postman está desatualizada. O Postman expirou a versão gratuita, arquivando o Collection.

@KayqueSantos KayqueSantos unpinned this issue Nov 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Issues related to API
Projects
None yet
Development

No branches or pull requests

3 participants