-
Notifications
You must be signed in to change notification settings - Fork 2
Code structure
Dmitry Usik edited this page Apr 3, 2022
·
10 revisions
Following is the basic project structure, describing the directories important for everyday development. Some folders containing various configurations and settings are omitted.
./ReactNativeBaseProject
----| @types
----| e2e
----| __mocks__
----| android
----| assets
----| ios
----| src
----|----| modules
----|----|----| countries
----|----|----| main
----|----| theme
____| index.js
Global custom types. Used for example for overriding or extending existing types of some 3rd party package or to add types for libraries without any typescript support.
End-to-end tests and their configuration.
Default mocks of node_modules packages.
Native android application source code.
Global static assets (fonts, icons, etc.).
Native ios application source code.
Application source code.
Application modules.
Colors, sizes, and other theme-related settings.
Application's entry point.