Configuration

Your project is configured via environment variables and configuration files.

Environment Variables

The project uses a .env file for storing sensitive information. A .env.example file is included in the root directory.

.env
DATABASE_URL="postgresql://user:password@localhost:5432/mydb"
JWT_SECRET="your-secret-key"
GOOGLE_CLIENT_ID="your-google-client-id"
APPLE_CLIENT_ID="your-apple-client-id"
Security Warning

Never commit your .env file to version control.

App Configuration

The app.json file contains configuration for Expo, including your app name, bundle identifier, and icon.

app.json
{
"expo": {
  "name": "My App",
  "slug": "my-app",
  "version": "1.0.0",
  "orientation": "portrait",
  "icon": "./assets/icon.png",
  "userInterfaceStyle": "light",
  "splash": {
    "image": "./assets/splash.png",
    "resizeMode": "contain",
    "backgroundColor": "#ffffff"
  }
}
}