Get Started
Getting started with Expo Starter Universal
Introduction
Hello and congratulations on taking the first step towards elevating your mobile app deployment skills!
This *universal starter kit is designed to help you build and deploy mobile apps faster and more efficiently, learn more about Expo Starter
Run your app in 5 steps
Prerequisites
System requirements:
- Node.js.
- macOS, Windows (Powershell and WSL 2), and Linux are supported.
Make sure your development environment is set up correctly.
Prepare repository
In your terminal, clone the repository
git clone git@github.com:expo-starter/expo-starter-kit.git your-app-nameSet new origin for you github repository
git remote remove origin
git remote set-url origin {your-git-origin}Copy .env.sample to .env and configure your environment variables, see environment file section for more information.
cp .env.sample .envPlease refer to the Env file section for additional details.
Install dependencies
cd your-app-name
pnpm installRun on simulator
The Expo Starter won't run on Expo Go because it includes native code that requires building the app first.
iOS
Android
Project Structure
The project has simple structure. It’s easy to navigate and understand. Here’s the main folders:
Env File
Environment file contains only secret keys and configuration variables used in server API. It is not committed to the repository.
POSTGRES_URL=postgres://postgres:root@localhost:5432/mobileThe Expo Starter includes a docker-compose.yml file to simplify running PostgreSQL. Before using it, ensure you have Docker installed.
docker-compose up -dConfiguration Files
config.ts file
It is where you configure your app. Every key is meticulously documented and will be explains in later. It's essential to review this carefully.
app.config.ts file
This is essential Expo App config, this file will be detailed later for more information.
