# coolcare-mobile

Mobile app for CoolCare (Expo + React Native).

## Setup

```bash
npm install
npx expo start
```

## API configuration

By default the app calls:

`https://app.coolcare.taaazzz-prog.fr/api/mobile`

You can override it with:

```bash
EXPO_PUBLIC_API_BASE_URL=https://your-domain/api/mobile
```

## Implemented flow

- Login (`/login.php`)
- Session check (`/me.php`)
- Refresh (`/refresh.php`) when access token is invalid
- Logout (`/logout.php`)
- Tokens stored with `expo-secure-store`
