8000 GitHub - afnanalamm/Myapp1
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

afnanalamm/Myapp1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Expo Router Example

This project demonstrates using expo-router to build native navigation in a React Native application using the file-based routing system in the app/ directory. The app is built entirely with JavaScript and is designed to run on iOS, Android, and the web.

Table of Contents


Features

  • File-based routing using expo-router
  • Cross-platform support (iOS, Android, Web)
  • Ready for Expo Application Services (EAS) deployment
  • Rapid development with hot reloading

Installation & Setup

Prerequisites

  • Node.js (version 14.x or higher recommended)
  • Yarn or npm
  • Expo CLI (npm install -g expo-cli)
  • (Optional) EAS CLI (npm install -g eas-cli) for advanced deployment

Create Project

To start a new project with this template:

npx create-expo-app -e with-router

Or, if cloning this repository:

git clone https://github.com/afnanalamm/Myapp1.git
cd Myapp1
yarn install   # or npm install

Running the App

To start the development server:

yarn start     # or npm run start

Then, use the Expo Go app or an emulator to view the app.


Project Structure

Myapp1/
├── app/                   # Route-based directory structure
├── assets/                # Images, fonts, etc.
├── package.json
├── app.json / app.config.js
├── README.md
└── ...
  • app/: Main application code, organized by routes.
  • assets/: Static resources.

Available Scripts & Terminal Commands

  • Start development server:
    yarn start
  • Build for production (EAS):
    npx eas-cli build
  • Deploy website (EAS Hosting):
    npx eas-cli deploy
  • Install dependencies:
    yarn install
  • Add a package:
    yarn add <package-name>

API Endpoints

This template does not include a backend or custom APIs by default. If you add API calls, document them here, e.g.:

  • GET /api/example — Fetches example data
  • POST /api/item — Creates a new item

Add details as your project evolves.


Deployment

Deploy on all platforms using Expo Application Services (EAS):


Learn More


Contributing

  1. Fork this repository
  2. Create your feature branch (git checkout -b feature/YourFeature)
  3. Commit your changes (git commit -am 'Add new feature')
  4. Push to the branch (git push origin feature/YourFeature)
  5. Open a pull request

License

Include your license here (e.g., MIT, Apache-2.0).


Note:
The above README incorporates all available information from your repository’s current README and expands it with standard Expo/React Native practices.
For more details or to see the latest updates, visit the repository on GitHub.


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0