Current Exchange Rates Application

Hello everyone. Here, we will see how to show current exchange rates and different information to users in API format. You can follow my Github account for source codes:

Fork me

Technologies Used

This project is a Current Exchange Rates Web Application. It is written with Node.js/Express and we can run it on our local computer. The application sends a "get request" to this address in the background for a "get request" coming to the root directory and parses the JSON String returned as a response. Then it sends an HTML page like the one shown in the figure as a response to the user.


When the user selects an exchange rate from the select list, information about the relevant rate is displayed on the right side of the screen. If the user wants, they can refresh the exchange rates thanks to a button located on the right side of the screen.

Running the Project

To run the project, we need to open a command screen in the root directory where the project is located and write node ProjectName.js. Then we can use the application by typing the port address shown on the command screen into our web browser. The run command for this project is as follows: