Front end in React Native for SafeHome. Please refer to backend repository for more information about the project.
This project is made in React Native, with live testing done using Expo as the project is not ejected or published.
Special thanks to the Google Maps API for Geocoding, Geolocation, Place Autocomplete, and Directions API.
Acknowledgement to Native Base as well for the design of some components.
The SafeHome API is used as the backend for this project. Refer to documentation.
- Clone the project
- Set up environment by downloading Node & Expo on your computer, and Expo client on your phone.
- Create an
.env
file in root directory and specify aGMAPS_API_KEY
(Google Maps API Key) and aBACKEND_BASE_URL
(endpoint to local SafeHome server). - Run
expo start
in the root directory of the project - Scan the QR code from the camera app on your phone.
- Enjoy!