A mobile app for the University of Wisconsin's SAFEwalk service on campus.
This app is submission for University of Wisconsin-Madison's CS 506 - Software Engineering for Spring 2020 semester. Teammates are Katie Bajkowski, Alex Deuman, Yoon Cho, Tadao Shimura, Justin Tan and Mujahid Anuar. At the time of the submission, all are students at the University of Wisconsin-Madison.
In order to run on your machine, you will need to run two applications on 2 separate command lines. Here's how you would do it:
- Clone the SAFEwalk-backend repo:
git clone https://github.com/justinztan11/SAFEwalk-backend
- Checkout the iteration-3 branch:
git checkout iteration-3
-
Make sure to have
node
andyarn
/npm
installed. -
Install
nodemon
globally:
npm install -g nodemon
- Install packages:
yarn # or npm install
- Run the backend:
nodemon index.js
- Clone this repo on your machine:
git clone https://github.com/mujahidfa/SAFEwalk-mobile
- Checkout the
iteration-3
branch:
git checkout iteration-3
- Install the Expo CLI globally
npm install -g expo-cli
- Install packages:
yarn # or npm install
-
Go to
/contexts/socket.js
and change the IP address according to your local IP address. -
Finally, run the app:
expo start #or yarn start
- Scan Expo QR Code through the Expo App (or run on an Android/ios emulator).
To run tests, enter the following command:
yarn test