- HTML
- CSS
- Bootstrap CSS Framework
- Google Fonts
- Git
- VS Code
- Javascript
- Jquery
- Webpack
- Babel
- ESlint
- Jest
- ENV Loader
- ExchangeRate-API
This project was created to convert currencies from one to another while using the ExchangeRate-API to find the exchange rate.
- Node
- A text editor like VS Code or Sublime Text
- Clone the repository:
$ git clone https://github.com/basicjohn/currency-exchanger.git
- Navigate to the
currency-exchanger/
directory on your computer - Open with your preferred text editor to view the code base
- To start a development server and view the project in the browser:
- Navigate to
currency-exchanger/
in your command line - Run the command
npm install
to install dependencies - Optionally, run the commmand
npm run build
to make a bundle of the files - Finally, run the command
npm run start
to start a development server
- Navigate to
- To run tests, navigate to
currency-exchanger/
in your terminal and run the commandnpm run test
- Visit the ExchangeRate-API site. Input your email address and click the "Get Free Key" button.
- You'll be prompted to create an account with your email, first name and a password. Agree to the terms of use and click "Get Started!"
- Copy the API Key from the API Access section of the Dashboard.
- Create a new file named .env & save it to the root of the project folder.
- In the .env file type "API_KEY=" (only the text inside the quotations)
- After the equals sign paste the API key.
- Save the file
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE."
John Edmondson edmondsonj@gmail.com