Challenge Bravo - Just a guy trying to have some fun #318
Open
wesleyfebarretos wants to merge 99 commits into
Open
Challenge Bravo - Just a guy trying to have some fun #318wesleyfebarretos wants to merge 99 commits into
wesleyfebarretos wants to merge 99 commits into
Conversation
…integration tests
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A explicação necessária pra rodar a aplicação está no README do meu fork.
Tem um ponto interessante sobre a api de jobs, ela suporta qualquer endpoint de terceiro que traga o rate das moedas basta inserir o caminho do payload até o rate da moeda na coluna response_path_to_rate da tabela currency separando as chaves por ";" e informar a url de busca na coluna search_url. Porém os seeders da aplicação que startam no ínicio dela já contem default.
O job roda a cada 12 horas, caso seja queiram rodar no início da aplicação, podem rodar manualmente o job pelo swagger disponibilizado e atualizar o banco e cache para uso. Só é necessário a autenticação de admin, que já está de exemplo no swagger, com o login de super admin inserido por seeder.