Skip to content

CM20314-Group-2/futureproof

Repository files navigation

FutureProof

runs with Expo Go


Prerequisites

  • Ensure that you have lerna installed globally:
yarn add -g lerna
  • Ensure that you have ngrok installed.

Installation

  • Create a new directory and clone the repository into it using the following command:
git clone https://github.com/CM20314-Group-2/futureproof.git
  • Setup the development environment:
yarn install

Developing Locally

  • Run the development server:
lerna run --stream dev
  • In the packages/server subdirectory, open the ngrok tunnel:
ngrok http 3000
  • In packages/client/app.config.ts, point the extra.ServerAddress property to the ngrok URL:
...
extra: {
      serverAddress: 'http://be0e-195-213-145-15.ngrok.io'
    }
...

Running Locally

  • Start the GraphQL server:
lerna run --stream dev
  • In a new terminal window start the client with:
yarn start
  • Open the ExpoGo mobile app, and you should see the app running.
  • You can also run the following command to open the app in an android emulator:
expo start --android

or the following command to open the app in an iOS simulator:

expo start --ios

About

Monorepo for FutureProof.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published