- Clone the project
git clone https://github.com/hatmramadn/places.git
- Install dependencies
cd places
# Using yarn
yarn install
# Using npm
npm install
- Run the app
# Using yarn
yarn ios
yarn android
# Using npm
npm run ios
npm run android
Application is following react native boiler plate structure. All of the code will be placed in a src folder and all of the dependencies will be placed in package.json file.
Repo https://github.com/hatmramadn/places-api Live https://places-lean-node.herokuapp.com
src folder contains the core code of the app. it is going to follow the following convention
-
assetsthis folder is going to contian all of the assets of the application which are primarily images and videos in the app. -
componentsthis contains the generic components in the application. such as- buttons
- headers
- Inputs
- and any associated screens components like Place component.
and all of the content that is generically being used in the app will be placed here.
-
configDuring the startup and at some other places, the application may require some configuration functions such as setting default headers, etc. -
screensAll of the application screens are going to be placed here as per the app flow. the authentication screens will be placed in theauthfolder, etc. -
navigationthis folder contains app navigators -
utilsthis folder contains utility functions -
constantsthis folder contains all app constant like colors, images, routeNames -
App.jsThis is the application's root file from where, the application is going to start.