To Go allows travelers to organize their trips more safely, making better use of their time and money. This project is being developed in React Native. I hope you will enjoy it!
- Node.js > 12 and npm (Recommended: Use nvm)
- Watchman
- Xcode 12
- Cocoapods 1.10.1
- JDK > 11
- Android Studio and Android SDK
- react-native-config to manage envionments.
- react-navigation navigation library.
- redux for state management.
- redux-persist as persistance layer.
- redux-thunk to dispatch asynchronous actions.
Project structure:
src/
App/
App.tsx
index.js
assets/
components/
constants/
navigation/
store/
modules/
Auth/
Home/
NewTrip/
Prepare your enviroment for React Native development
Make sure node version installed is >=10.x.x
. Then install using yarn (or npm):
yarn install
Start the Metro Bundler:
yarn start
One time. Move to ios
folder and install pods:
cd ios && pod install
Launch application from XCode (Command + R
) Or launch from Terminal:
yarn ios
# runs the following command. change device name here
# `npx react-native run-ios --simulator='iPhone 11'`
Start an Android Simulator from:
Android Studio > Tools > AVD Manager > Run any device
Similarly, run from Android Studio itself Or from Terminal:
yarn android
# runs the following command
# react-native run-android --variant=Debug