Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 1.2 KB

README.md

File metadata and controls

36 lines (26 loc) · 1.2 KB

Sportify-Frontend

Prequisites

  1. Install Node.js on your computer
  2. Download Expo Go on your phone (if you wish to run the application on your phone)
  3. Install chromedriver version 119 (for the automated acceptance tests only)

Setup

  1. Clone the current repository Sportify-Frontend
  2. Enter the directory of Sportify-Frontend
  3. Run npm install in terminal
  4. Run npm -v, if you can see the version number, then the installation was successful

Execution

  1. Run npm start

On Your Computer's Web Browser

  1. Visit http://localhost:19006 from a browser

On Your Phone

  1. You will see a QR Code in terminal
  2. Scan the QR code with your phone's camera
  3. Sportify will run on your phone via Expo Go

Acceptance Testing with Cucumber

  1. Run the backend
  2. Run the frontend: npm start
  3. With both the backend and the frontend running in the background, run npm test

Useful Resources

React Native: How to create a new project https://reactnative.dev/docs/environment-setup?guide=quickstart

React Native: Starting guide https://reactnative.dev/docs/tutorial

React Native: Documentations https://reactnative.dev/docs/view, etc