Commit 947b47ff authored by Neosoulink's avatar Neosoulink
Browse files

refactor: update shopMobileExpo readme

parent f0e7b163
Loading
Loading
Loading
Loading
+21 −18
Original line number Diff line number Diff line
# @ever-platform/shop-mobile-expo

> 🛑 **NOT YET COMPATIBLE**: Currently this package don't works fine with Lerna mono-repo logic.
To be able to run this package locally, you've to extract the package outside of @ever-platform and then install dependencies (see [setup](#-setup) section).
But this package depend on @ever-platform server, don't forget to start it...
> To be able to run this package locally, you've to extract the package outside of @ever-platform and then install dependencies (see [setup](#-setup) section).
> But this package depend on @ever-platform server, don't forget to start the api...

## 📋 Contents

@@ -17,11 +17,12 @@ But this package depend on @ever-platform server, don't forget to start it...
> We used expo to test our application easily and quickly.
> So you must first install expo on your mobile and then test the demo version.

Copy that link -> **[link not available](https://docs.expo.io/)** and past it into your expo app to preview demo.
Copy that link -> **[https://exp.host/@everco/ever-demand-shop-mobile-expo](https://exp.host/@everco/ever-demand-shop-mobile-expo)** and past it into your expo app to preview demo.

## ⚡ Setup

<!-- TODO: Add more folders and files descriptions -->

### 📋 Package structure

    .
@@ -69,16 +70,18 @@ Copy that link -> **[link not available](https://docs.expo.io/)** and past it in
-   After these steps, run `yarn run start` command to start bundle server

> 🚧 If you can't connect to the server, maybe the endpoint aren't compatible.
To update them, got to `./src/environments/environment.ts` and change urls props into `ENDPOINT` prop from `http://localhost/...` to `http://10.0.2.2/...`
> To update them, got to `./src/environments/environment.ts` and change urls props into `ENDPOINT` prop from `http://localhost/...` to `<http://10.0.2.2/>...

<!--  -->

> 💡 If you still can't connect to the API, we recommend that you consult the wiki where we explain how to expose your local network: <https://github.com/ever-co/ever-demand/wiki/Expose-Local-Network>

<!-- TODO: Add contribution -->
## 🧪 Testing

We're using Jest to test our application.

To run all tests, run `yarn run test`

<!-- TODO: Add contribution -->
### 🤝 Contribution

Please refer to the [guide of the platform](https://github.com/ever-co/ever-demand/#contribute)