Advanced Software Engineering, Group 1.
- Callum Crawford
- Jack Lloyd
- Jacob Evans
- Robert Vava
- Will Kearney
- Yunusa Jibrin
This app displays Price Paid Data for residential property sales going back to 1 January 1995 in the UK. The user can select the local area to display housing data in the form of a heatmap. A toggle allows for the user to view and select pins for nearby postcodes in order to view more granular data on housing sales.
The app frontend was built with Expo, a set of tools built on top of React Native, which is a framework on a Javascript codebase. The backend is written with Express, a web framework for Node.js. We used the NoSQL document data model MongoDB as the applications database program.
The following sections detail the process of installing the dependencies, building a project for Android and/or iOS, and running the application locally and/or remotely.
Node.js is an open-source JavaScript runtime environment; it is required to install, build, and run this application. Use the link below to download and install node
, alongside the package manager, npm
.
- Go to https://nodejs.org/en/download/ and download the LTS version of Node. (Alternatively, use a package manager like Homebrew. But make sure you install the LTS version!)
- Install the expo command line tools:
npm install --global expo-cli
. Verify that the installation was successful by runningexpo whoami
. - Move the project folder to your user's directory. (This is potentially important, as the file watchers React Native use might have difficulty with the Desktop, Download, or Documents directories.)
- Change into the project directory.
- Make sure you are inside the correct directory by running
ls
. There should be a package.json file inside there. - Install the dependencies by running
npm install
.
- Go to https://nodejs.org/en/download/ and download the LTS version of Node.
- Install the expo command line tools:
npm install --global expo-cli
. Verify that the installation was successful by runningexpo whoami
. - Change into the project directory.
- Make sure you are inside the correct directory by running
ls
. There should be a package.json file inside there. - Install the dependencies by running
npm install
. - Make sure NPM has been added to your environment variables. Open the Windows search bar and type "environment". Select "Edit the System Environment Variables".
- Click "Environment Variables", and then double-click "Path" under "System Variables".
- Click the "New" button and add the following path:
%USERPROFILE%\AppData\Roaming\npm
. - Click OK and apply changes. Close out of your GitBash terminal completely and reopen.
To build and run this app, open the project directory and run expo start
. This should open a browser window.
According to Expo, "The fastest way to get up and running is to use the Expo Go app on your iOS or Android device. Expo Go allows you to open up apps that are being served through Expo CLI." Install it using one of these links:
- Android Play Store - Android Lollipop (5) and greater.
- iOS App Store - iOS 11 and greater.
On your iPhone or iPad, open the default Apple "Camera" app and scan the QR code you see in the terminal or in Expo Dev Tools.
On your Android device, press "Scan QR Code" on the "Projects" tab of the Expo Go app and scan the QR code you see in the terminal or in Expo Dev Tools.
Keep in mind that emulators require a lot of RAM, so you may find that bundling and displaying code takes much longer than when using a physical device. If you would like to run in a simulator, use the following instructions provided by Expo: