Skip to content

Latest commit

 

History

History
68 lines (42 loc) · 1.47 KB

README.md

File metadata and controls

68 lines (42 loc) · 1.47 KB

CPRG303 Mobile Application Development

React Native Environment Setup: A Step-by-Step Guide

System Requirements

Operating System: Windows 11 Home

CPU: AMD Ryzen 5 PRO 4650U

RAM: 16GB

Getting Started

  1. Installation Instructions

    1.1 Install Node.js

    • Download: Visit Node.js and download the latest stable version (LTS).

    • Install: Follow the installer’s steps.

    • Verify Installation:

    node -v
    npm -v
  2. Project Creation Once the environment is set up, create a new React Native project by following these steps:

  3. Open Command Prompt (or Terminal in VSCode).

  4. Run the following command:

  npx create-expo-app@latest – template

then follow this link: https://docs.expo.dev/router/installation/#manual-installation Install dependencies:

npx expo install expo-router react-native-safe-area-context react-native-screens expo-linking expo-constants expo-status-bar

install the following dependencies for web:

npx expo install react-native-web react-dom

Running the Project:

npx expo start -c

Resources

• React Native Official Documentation: https://reactnative.dev/docs/environment-setup

• Node.js Official Website: https://nodejs.org

• Install Expo Router: Install Expo Router - Expo Documentation

License

This project is open source and available under the MIT License.