Git Product home page Git Product logo

currency's Introduction

Currency Exchange App

Content table

Test requirements

  • Your task is to develop a TypeScript / React application that interacts with the Currency Converter API. The goal is to continuously fetch and display the currency conversion rates between USD and BRL for the last 24 hours.

Solution

Requirements

  • Docker
  • Docker Compose
  • Node.js (v20.6.1)
  • Redis Stack Server

How to run

  • Clone this repository
  • Create a .env file in the root of the project and add the following variables:
API_URL=https://currency-converter5.p.rapidapi.com
API_KEY=YOUR_API_KEY
CURRENCY_FROM=USD
CURRENCY_TO=BRL
- `API_URL` is the URL of the [Currency Converter API][#1]
- `API_KEY` is the API Key of the [Currency Converter API][#1]
- `CURRENCY_FROM` is the currency that you want to convert from
- `CURRENCY_TO` is the currency that you want to convert to
  • Run docker-compose build to build the application
  • Run docker-compose up -d redis to start the Redis Stack Server on detached mode
  • Run docker-compose up -d back to start the backend on detached mode
  • Run docker-compose up -d front to start the frontend on detached mode
  • Open your browser and access http://localhost:3000

Used technologies

Author

Josue Daniel Bustamante

currency's People

Contributors

josuedanielbust avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.