Last active
February 28, 2017 14:08
-
-
Save alatui/58ff5fe084807aca15bb04967e6beb2e to your computer and use it in GitHub Desktop.
This file contains 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
const ATIVIDADES = [ | |
{id: '1', nome: 'Pedreiro', icone: 'construct'}, | |
{id: '2', nome: 'Eletricista', icone: 'bulb'}, | |
{id: '3', nome: 'Encanador', icone: 'water'}, | |
{id: '4', nome: 'Pintor', icone: 'color-palette'}, | |
]; |
This file contains 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
avaliacao: (string), | |
descricao: (string), | |
profissional: (string)(email) | |
Método: POST | |
Error: | |
status: 401 para não autorizado | |
data: | |
{ | |
msg: 'Lorem ipsum | |
} |
This file contains 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
latitude: (float), | |
longitude: (float), | |
id: (string) | |
Método: GET | |
Error: | |
status: 401 para não autorizado | |
data: | |
{ | |
msg: 'Lorem ipsum | |
} | |
Response: | |
[ | |
{ | |
nome: 'João da Silva Santos', | |
email: 'joao.santos@gmail.com', | |
telefone_1: '14 34489-9807', | |
telefone_2: '14 99878-9089', | |
bairro: 'Centro', | |
cidade: 'Tupã', | |
estado: 'SP', | |
avaliacao: '4', | |
avaliar: true, | |
avaliacoes: [ | |
{ | |
nome: 'Claúdia Leite', | |
data: '12/01/2017', | |
descricao: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation.', | |
avaliacao: '4' | |
} | |
] | |
} | |
] |
This file contains 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
http://stackoverflow.com/questions/15628794/radius-search-by-latitude-longitude |
This file contains 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
email: (string), | |
senha: (string), | |
Response: | |
{ | |
nome: (string), | |
email: (string), | |
token: (string), | |
profissional: (boolean) | |
} | |
Método: POST | |
Error: | |
status: 401 | |
data: | |
{} or null |
This file contains 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
profissional: (boolean) | |
nome: (string), | |
email: (string), | |
senha: (string), | |
telefone_1: (string), | |
telefone_2: (string), | |
logradouro: (string), | |
bairro: (string), | |
cep: (string), | |
cidade: (string), | |
estado: (string), | |
complemento: (string), | |
atividades: (array), | |
referencia_nome_1: (string), | |
referencia_telefone_1: (string), | |
referencia_nome_2: (string), | |
referencia_telefone_2: (string), | |
comprovante_endereco: (string), | |
comprovante_identidade: (string) | |
Método: POST | |
Error: | |
status: 422 | |
data: | |
{ | |
msg: 'Lorem ipsum | |
} |
This file contains 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
profissional(boolean) | |
nome: (string), | |
email: (string), | |
senha: (string) | |
Método: POST | |
Error: | |
status: 422 | |
data: | |
{ | |
msg: 'Lorem ipsum | |
} |
This file contains 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
{"ehprofissional":true,"nome":"nome","email":"email@ww.com","senha":"123","pessoa":{"telefone1":"tel 1","telefone2":"tel 2","endereco":{"logradouro":"log","bairro":"bairoo","cep":"cep","cidade":"cidade","estado":"SP","complemento":"comp"},"atividades":["1","2"],"referencianome1":"ref nome","referenciatelefone1":"ref tel","referencianome2":"","referenciatelefone2":"","comprovanteendereco":"file:///storage/emulated/0/Android/data/com.startreforma/files/Pictures/image-4cf4e35e-7e23-4326-83a9-e6dd4645ebfc.jpg","comprovanteidentidade":"file:///storage/emulated/0/Android/data/com.startreforma/files/Pictures/image-afbc122b-f842-4719-a97c-7e0e8466c9a5.jpg"}} |
This file contains 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
{"usuario":{"ehprofissional":true,"nome":"nomee","email":"emm@ww.com","senha":"12","pessoa":{"telefone_1":"123","telefone_2":"123","logradouro":"log","bairro":"bairro","cep":"cep","cidade":"cid","estado":"SP","complemento":"comp","atividades":["1"],"referencia_nome_1":"nome","referencia_telefone_1":"tel","referencia_nome_2":"","referencia_telefone_2":"","comprovante_endereco":"file:///storage/emulated/0/Android/data/com.startreforma/files/Pictures/image-39876c46-eb33-40fd-b277-724f3226190b.jpg","comprovante_identidade":"file:///storage/emulated/0/Android/data/com.startreforma/files/Pictures/image-195a9ff9-d2db-42fe-9119-7f88554b3eb0.jpg"}}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment