Oitavo desafio GoStack12 - React-native and typescript
realizado com base no repositório
Este desafio foi realizado com context Api, react-native and typescript.
Desafico com o objetivo de simular um marketplace, efetuando uma requesição unica para um servidor, para listar os produtos.
- Istale as dependencias:
yarn
- Inicie o fake server:
yarn json-server server.json -p 3333
- Inicie o metro bundler:
yarn start
- Verifique a url local do seu emulador:
- Caso seja Iphone o ip padrão é:
http://localhost:3333
- Caso seja um emulador Android é nessesario rodar:
adb reverse tcp:3333 tcp:3333
e a url será a mesma (http://localhost:3333
) - Caso nessesario alterar a url é no arquivo src/services/api.ts
- Caso seja Iphone o ip padrão é: