yeechaotee / Fresh_Beer_Near_Me

2 stars 0 forks source link

Fresh_Beer_Near_Me

Expo Router Example

Use expo-router to build native navigation using files in the app/ directory.

🚀 How to Setup and Execute our mobile app (Must run below CLI for initial setup)

Initial installation:
npm install
npm install --global expo-cli

(For starting mobile application after setup)
npm start
expo-cli start --tunnel

Kindly install all neccessary CLI packages required in this mobile application if prompted to you during the compilation and setup

🚀 Additional CLI Installation required for react-navigation:

npm install @react-navigation/stack
npm install @react-navigation/native
npm install @react-navigation/bottom-tabs
npm install @react-navigation/material-bottom-tabs react-native-paper react-native-vector-icons
npm install @react-navigation/material-top-tabs react-native-tab-view
npm install react-native-gesture-handler
npm install react-native-bouncy-checkbox
npm install tslib
npm install react-redux
npm install lottie-react-native  (for animation icon on page, as json file)

📝 Discovery Module required CLI installation:

npm install -D tailwindcss
npm install tailwindcss-react-native
npm install --save-dev tailwindcss
npm install tailwind-react-native-classnames
npm install @react-navigation/native-stack
npm i react-native-animatable
npm i react-native-elements
npm install react-native-google-places-autocomplete --save
npm install valid-url
npm install lottie-react-native
npm i react-native-heroicons
npm i react-native-modal-datetime-picker
npx expo install react-native-modal-datetime-picker
npx expo install @react-native-community/datetimepicker
npm install react-native-range-timepicker
npm install patch-package
npm install deprecated-react-native-prop-types
npm install react-native-swipe-list-view --save
npm install react-native-action-button
npm i react-native-keyboard-aware-scroll-view
npm i react-native-image-picker
npm install firebase @firebase/storage
npx expo install expo-image-picker

📝 Firebase Database:

npm install --save firebase
expo install firebase
npm install @react-native-firebase/app --save
npm install @react-native-firebase/auth --save
npm i @expo/metro-config
npx expo customize metro.config.js
npm i firebase-admin
- For initial setup:
    - Need to enable Authentication using email/pass on firebase console page

📝 Profile module:

Login and Sign up features: https://www.positronx.io/react-native-firebase-login-and-user-registration-tutorial/
npm install email-validator
npm install formik
npm install yup
npm install react-native-reanimated
npm install reanimated-bottom-sheet
npm install @react-native-community/cli
npm i --save @react-native-community/google-signin
npm install react-native-image-crop-picker
npm i @react-native-picker/picker

📝 Social module:

npm i react-native-pell-rich-editor
npm i @react-navigation/drawer
npx expo install expo-checkbox
npx expo install @react-native-community/datetimepicker
npx expo install react-native-webview
npm install uuid@3.2 -S
npx expo install expo-image-picker

📝 Maps component:

npm i axios

📝 Modal component:

npm install react-native-dropdown-picker

in case bad things happen:

git reset HEAD^ --hard and git push --force

For Master branch messed up:
git checkout branch1
git merge -s ours master
git checkout master
git merge branch1
git push --force origin master

Other package:

npm i expo-device

📝 Notes