For full instructions on what we'd like you to do please visit our official developer test page.
Please change the contents of apollo.ts
to your current local address. The current contents are
const client = new ApolloClient({
uri: "http://192.168.33.123:3000/graphql",
cache: new InMemoryCache(),
});
Change the uri to the your local address which can be obtained by running (if on Mac)
ifconfig | grep "inet " | grep -v 127.0.0.1 | cut -d\ -f2
In order to get data to the app, the back-end must be running and the database populated. Instructions for doing so can be found here
-
Install dependencies
npm install
-
Start the app
npx expo start
In the output, you'll find options to open the app in a
- development build
- Android emulator
- iOS simulator
- Expo Go, a limited sandbox for trying out app development with Expo
You can start developing by editing the files inside the app directory. This project uses file-based routing.
To learn more about developing your project with Expo, look at the following resources:
- Expo documentation: Learn fundamentals, or go into advanced topics with our guides.
- Learn Expo tutorial: Follow a step-by-step tutorial where you'll create a project that runs on Android, iOS, and the web.