Create 1st Mobile App
-
Expo Getting Started
npx(Node Package execute) is NPM package runner. It allows developers to execute any Javascript Package available on the NPM registry
npm(Node Package Manager) a free, open-source registry and command-line tool for JavaScript software packages
// Open cmd prompt on Windows, and move to C:
C:\>mkdir react
C:\>cd react
C:\react>npx create-expo-app@latest
Need to install the following packages:
create-expo-app@3.5.3
Ok to proceed? (y) y
C:\react>cd my-app
C:\react\my-app>npx expo start --clear
Starting project at C:\react\my-app
React Compiler enabled
Starting Metro Bundler
warning: Bundler cache is empty, rebuilding (this may take a minute)
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█ ▄▄▄▄▄ █▄▄▄ ▀ ▀█ █ ▄▄▄▄▄ █
█ █ █ ██▄▀ █ ▀▄▄█ █ █ █
█ █▄▄▄█ ██▀▄ ▄█▀█▀█ █▄▄▄█ █
█▄▄▄▄▄▄▄█ ▀▄█ ▀▄▀ █▄▄▄▄▄▄▄█
█▀ ██▄▀▄▄ █▀█▄ █ ▄▀▀█▀ ██
█ ▄▄▄▄▄ ██ █▀▄ █ █▄█ ███ █
█ █ █ █ ▀▄ ▀█▄ ▄ ▄ █▀▀█
█ █▄▄▄█ █▀ ▄ ▀█▄ ▄█▀▀▄█ █
█▄▄▄▄▄▄▄█▄▄▄▄██▄▄▄▄█▄▄███▄█
› Metro waiting on exp://192.168.0.105:8081
› Scan the QR code above with Expo Go (Android) or the Camera app (iOS)
› Web is waiting on http://localhost:8081
-
Bring Laptop and Mobile Phone to same Wifi network
Scan the QR code from any scanner on Mobile, Mobile App will open on Phone