Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .expo/packager-info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"devToolsPort": 19002,
"expoServerPort": null,
"packagerPort": null,
"packagerPid": null,
"expoServerNgrokUrl": null,
"packagerNgrokUrl": null,
"ngrokPid": null,
"webpackServerPort": null
}
8 changes: 8 additions & 0 deletions .expo/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"hostType": "lan",
"lanType": "ip",
"dev": true,
"minify": false,
"urlRandomness": null,
"https": false
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
30 changes: 30 additions & 0 deletions App.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
import React from "react";
import "react-native-gesture-handler";
import Routes from "./src/routes";
import { AppLoading } from 'expo';
import
{
Poppins_400Regular,
Poppins_600SemiBold,
useFonts
}
from '@expo-google-fonts/poppins'
import {
Archivo_400Regular,
Archivo_700Bold
} from '@expo-google-fonts/archivo'


export default function App() {
let [fonstLoaded] = useFonts({
Poppins_400Regular,
Poppins_600SemiBold,
Archivo_400Regular,
Archivo_700Bold,
})
if(!fonstLoaded) {
return <AppLoading/>;
} else {
return <Routes />;
}
}
35 changes: 0 additions & 35 deletions README.md

This file was deleted.

12 changes: 12 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
### CovidRadar

- App desenvolvido em React Native (Expo) com a finalidade de listar dados relacionados a Covid-19 os dados não são em tempo real pois a api é atualizada de tempos em tempos.

## OQue fiz ?

- [x] Organização do codigo de forma escalavel.
- [x] eslint utilizado juntamente com prettier para padronização de codigo.
- [x] consumo a uma API publica (Utilizando axios).


<p align="center">Feito com ❤️ por <strong>Nikolas Santos</strong> para <strong> BuildBox </strong> </p>
28 changes: 28 additions & 0 deletions app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"expo": {
"name": "CovidRadar",
"slug": "CovidRadar",
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/icon.png",
"splash": {
"image": "./assets/splash.png",
"resizeMode": "contain",
"backgroundColor": "#473F97"
},
"updates": {
"fallbackToCacheTimeout": 0
},
"assetBundlePatterns": [
"**/*"
],
"ios": {
"supportsTablet": true
},
"android": {
"package": "com.Nikolassanots.CovidRadar",
"versionCode": 1
},
"description": ""
}
}
Binary file added assets/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = function(api) {
api.cache(true);
return {
presets: ['babel-preset-expo'],
};
};
42 changes: 42 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"main": "node_modules/expo/AppEntry.js",
"scripts": {
"start": "expo start",
"android": "expo start --android",
"ios": "expo start --ios",
"eject": "expo eject"
},
"dependencies": {
"@expo-google-fonts/archivo": "^0.1.0",
"@expo-google-fonts/poppins": "^0.1.0",
"@react-native-community/masked-view": "^0.1.10",
"@react-navigation/drawer": "^5.8.4",
"@react-navigation/native": "^5.6.1",
"appcenter": "3.1.0",
"appcenter-analytics": "3.1.0",
"appcenter-crashes": "3.1.0",
"axios": "^0.19.2",
"expo": "~38.0.1",
"expo-ads-admob": "^8.2.1",
"expo-constants": "^9.1.1",
"expo-linking": "^1.0.3",
"expo-status-bar": "^1.0.0",
"react": "~16.11.0",
"react-dom": "~16.11.0",
"react-native": "https://github.com/expo/react-native/archive/sdk-38.0.0.tar.gz",
"react-native-elements": "^2.0.4",
"react-native-gesture-handler": "^1.6.1",
"react-native-masked-text": "^1.13.0",
"react-native-reanimated": "^1.9.0",
"react-native-safe-area-context": "3.0.2",
"react-native-screens": "^2.9.0",
"react-native-vector-icons": "^6.6.0",
"react-native-web": "~0.11.7"
},
"devDependencies": {
"@babel/core": "^7.8.6",
"babel-preset-expo": "~8.1.0",
"eslint": "^7.4.0"
},
"private": true
}
Binary file added src/assets/banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/distancia.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/mao.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/mascara.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
43 changes: 43 additions & 0 deletions src/assets/newsvg.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading