18 lines
348 B
Markdown
18 lines
348 B
Markdown
|
|
# Negopoly Mobile (React Native)
|
||
|
|
|
||
|
|
## Development server
|
||
|
|
Set the dev API base URL to your machine IP so the app can reach the Bun server.
|
||
|
|
|
||
|
|
Create a `.env` file in `mobile/`:
|
||
|
|
|
||
|
|
```
|
||
|
|
EXPO_PUBLIC_DEV_API_BASE_URL=http://<this-computer's-ip>:3000
|
||
|
|
```
|
||
|
|
|
||
|
|
The app will use `https://negopoly.fr` automatically in production builds.
|
||
|
|
|
||
|
|
## Run
|
||
|
|
```
|
||
|
|
npm run dev
|
||
|
|
```
|