Go to file
Leon Morival c5fbb7b0aa fix push token 2026-04-20 08:20:20 +02:00
.idea styles 2026-04-19 12:49:53 +02:00
.vscode Initial commit 2026-04-18 17:14:10 +02:00
app fix push token 2026-04-20 08:20:20 +02:00
assets fonts 2026-04-19 15:59:08 +02:00
components notifications ok 2026-04-19 18:59:59 +02:00
constants fix push token 2026-04-20 08:20:20 +02:00
functions fix push token 2026-04-20 08:20:20 +02:00
lib fix push token 2026-04-20 08:20:20 +02:00
providers fix push token 2026-04-20 08:20:20 +02:00
services fix push token 2026-04-20 08:20:20 +02:00
types notifications ok 2026-04-19 18:59:59 +02:00
.env.example notifications ok 2026-04-19 18:59:59 +02:00
.firebaserc feat: cloud functions 2026-04-19 16:59:09 +02:00
.gitignore firestore 2026-04-19 13:00:08 +02:00
README.md fontsavatarr 2026-04-19 16:09:27 +02:00
app.json notifications ok 2026-04-19 18:59:59 +02:00
bun.lock notifications ok 2026-04-19 18:59:59 +02:00
eas.json notifications ok 2026-04-19 18:59:59 +02:00
eslint.config.js Initial commit 2026-04-18 17:14:10 +02:00
firebase-debug.log fix push token 2026-04-20 08:20:20 +02:00
firebase.json notifications ok 2026-04-19 18:59:59 +02:00
google-services.json notifications ok 2026-04-19 18:59:59 +02:00
package.json notifications ok 2026-04-19 18:59:59 +02:00
tsconfig.json Initial commit 2026-04-18 17:14:10 +02:00

README.md

Expo Starter

Starter Expo avec Firebase Auth et Firestore.

Setup

  1. Installe les dépendances
npm install
  1. Crée ton fichier d'environnement
cp .env.example .env
  1. Remplis ton .env avec les valeurs de ton projet Firebase
EXPO_PUBLIC_FIREBASE_API_KEY=
EXPO_PUBLIC_FIREBASE_AUTH_DOMAIN=
EXPO_PUBLIC_FIREBASE_PROJECT_ID=
EXPO_PUBLIC_FIREBASE_STORAGE_BUCKET=
EXPO_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=
EXPO_PUBLIC_FIREBASE_APP_ID=

Lancer le projet

npx expo prebuild --clean && npx expo run android

Structure utile

  • app/: écrans Expo Router
  • components/common/: composants partagés
  • constants/: palette, spacing, radius, fonts
  • lib/firebase.ts: initialisation Firebase
  • lib/firestore.ts: refs et converters Firestore
  • providers/AuthProvider.tsx: état d'auth global
  • services/auth.ts: login, register, logout