About This File
DEMO HERE
My Travel is a Booking System based on Laravel, designed for a travel website, Marketplace, Travel Agency, Tour Operator, Room Bnb, Villa Rental, Resort Rental, Make Travel website.
Check out the live demo on Google Play.
Getting Started
1. Setup your project
- Go to "{project_name}/src/config/appInformation.js"
- Change "baseDomain"" to your domain (Don't forget to add "/" to the end of your domain)
2. Run your project
In macOS, open "Terminal" and run this command:
npm install
If you get an error like this
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR! [email protected]"17.0.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer [email protected]"^16.8.0" from [email protected]
npm ERR! node_modules/react-hook-mousetrap
npm ERR! [email protected]"*" from the root project
npm ERR!
Try this command
npm install --force
Or
npm install --save --legacy-peer-deps
Running on Android device
Make sure your laptop installed ADB
-
- Connect your physical device and run this command
ADB devices
This command show list id of device connected
-
- Run this command to start the project
react-native run-android
Running on an IOS device
-
- In the root project, open "Terminal" and run this command
cd ios && pod install
-
- Run this command to start the project