A mobile app used to convert various petrol prices from around the world into relative terms. Built with Ionic 4 and Angular 5, using Open Exchange Rates API for exchange rates.
To clone and run this repository you'll need Git and Node.js (which comes with npm) installed on your computer. From your command line:
# Clone this repository
git clone https://github.com/MrPickles2009/PetrolPriceConverter.git
# Go into the repository
cd PetrolPriceConverter
# Install dependencies
npm install
You will then need to create an Open Exchange Rates account here: https://openexchangerates.org/
- When your account is created, generate a new app ID
- Paste your app ID into a file named
oxrApiKey.txt
- Place this file in your
PetrolPriceConverter/src/assets/
folder
# Run the app
ionic serve
# If the above fails you may need to run for browser instead
ionic cordova run browser
# If the above fails you may need to globally install ionic and cordova
npm install -g ionic cordova