Skip to content

em2396/global-nomad-currency

Repository files navigation

Global Nomad Currency Tests

🖥️ Deployed Link

https://global-nomad-currency.vercel.app/

💾 Technologies Used

HTML5 CSS3 JavaScript Visual Studio Code GitHub NPM Figma React React Router Cypress

👩‍💻 👩‍💻 👨‍💻 👩‍💻 Collaborators

Emalee Poellot

💭 Abstract

The Global Nomad Currency App is a React-based web application designed to provide users with a seamless experience for converting currency values. The app employs controlled forms to capture user input, allowing them to specify an amount, choose the source currency, and select the target currency for conversion. The conversion process is facilitated through integration with external APIs, ensuring real-time and accurate exchange rates.

📝 Context

I am a front-end developer who worked remotely to complete this application. This project was completed week 5 of module 3 of the Front End development program at Turing School of Software and Design.

🎥 Preview

global-nomad.copy.mov

🔌 Server Setup

  1. Clone the repository: Open a terminal window. Navigate to the directory where you want to clone the repository. Run the following command: git clone git@github.com:em2396/global-nomad-currency.git
  2. Install the dependencies: Run the following command in the cloned repository directory: npm install
  3. Run the React app: Run the following command in the cloned repository directory: npm start
  4. Open the app in your web browser by navigating to http://localhost:3000

📚 Learning Goals

  • Use the technology you’ve been working with over the course of the module to demonstrate mastery of the following:
    • React
    • Router
    • Asynchronous JavaScript
    • End to end testing with Cypress
  • Create personas and user stories to describe your target audience.

🥇 Wins

⭐ Getting a better understanding of cypress testing and user interaction ⭐ Doing a solo project helps you grow more in the long run because when you get stuck, you have to work harder to find the solution versus having two brains working to solve it. ⭐ Being able to talk through my code and find out what a problem was with a mentor; I realize that just speaking about my problem and talking through my code, I am usually able to find a solution.

🚧 Challenges

❗ While setting up the initial React app, I had created a useState for the conversionRate that was being fetched when the button was clicked. There was a big time issue that I couldn't resolve. It took a long time but I refactored to remove the useState and add it as a value inside an object instead. ❗ Formatting my .json data while cypress testing was initially a struggle because of the way that I pulled from the fetch. I realized I just needed to format it exactly as shown in the dev tools. ❗ Getting the right animation for the background was a challenge. At first, I found one I thought was really cool but I had a hard time removing white space and realized that specific animation wouldn't expand past a certain point.