file-structure.md
May 9, 2020 · View on GitHub
File structure
/android- contains native code specific to the Android OS/documentation- as the name suggests - any docs/ios- native code specific to iOS/src- contains our JS and CSS code.index.jsis the entry-point for our file, and is mandatory./api- Web service to hit api is defined here/common- Shared stateless components are put here/constants- App-wide variables Read More →dimensions.js- Store all number related constant used in screens/component herespacing.js- Standard values meant to be used for padding & margintypography.js- Contain presets meant to be used inTextcomponent
/i18n- Store all the strings here, to support language localization/navigation- Wire up the react-navigation routing/screens- Contain Screens which correspond to a route in react-navigation/store- Redux Store - hooks up the stores and provides initial/template states/theme- Inbuilt theme module using React Context Read More →index.js- The starting place for our app