Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ismaelsousa authored Sep 25, 2022
1 parent 16ba864 commit 7e5d548
Showing 1 changed file with 67 additions and 0 deletions.
67 changes: 67 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,73 @@ I did it with inspiration on **Netflix**



<p align='center'>
<img
width='300px'
src='https://assets-global.website-files.com/5d9bc5d562ffc2869b470941/5e1f9804b36ff7196d4b72a0_logo-react-native-tech.png'
alt='react native logo'
/>
</p>




[React-Native](https://reactnative.dev)
- Version ~> "0.70.1"

## πŸ— Running

- Pre running (Android | Ios)
- run `npm install`
- IOS:
- run `npx pod-install && npx react-native run-ios`
- Android:
- run `npx react-native run-android`

## Folder structure

Model–view–viewmodel (MVVM)


[![Watch the video](https://user-images.githubusercontent.com/28990749/192161892-567a1e12-ed46-4f74-87bf-fbe99bb9513a.png)](https://youtu.be/RGRfXh54d9U)

[What the video about mvvm | Portuguese](https://youtu.be/RGRfXh54d9U)


```plainText
app
.
β”œβ”€β”€ android # Native android files
β”œβ”€β”€ ios # Native ios files
β”œβ”€β”€ src # Source files
β”‚ β”œβ”€β”€ @types # Contains all global definitions of types and interfaces
β”‚ β”œβ”€β”€ assets # Contains Js bundles assets. e.g: icons, images etc...
β”‚ β”œβ”€β”€ common
β”‚ β”‚ β”œβ”€β”€ components
β”‚ β”‚ β”œβ”€β”€ constants
β”‚ β”‚ β”œβ”€β”€ contexts
β”‚ β”‚ β”œβ”€β”€ hooks
β”‚ β”‚ β”œβ”€β”€ models
β”‚ β”‚ β”œβ”€β”€ utils
β”‚ β”œβ”€β”€ Navigation
β”‚ β”‚ β”œβ”€β”€ BottomTabNavigator
β”‚ β”œβ”€β”€ repositories # Contains external and api services
β”‚ β”œβ”€β”€ screens
β”‚ β”‚ β”œβ”€β”€ view
β”‚ β”‚ β”œβ”€β”€ controller
β”‚ β”‚ β”œβ”€β”€ styles
β”‚ β”œβ”€β”€ navigation
β”‚ β”œβ”€β”€ screens
β”‚ β”œβ”€β”€ services
β”‚ β”œβ”€β”€ App # Aplication entry
.
.
β”œβ”€β”€ index # Bundle entry
.
.
└── README.md
```



Expand Down

0 comments on commit 7e5d548

Please sign in to comment.