Skip to content

eugercek/Currency-Frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is this?

An internship project.

A frontend for Currency Exchange Rates parsed from TCMB.

Exchange rates are downloaded, parsed and saved in database with a daemon integrated with systemd.

Afterwards a REST server reads and serves the databse.

At the last step this program is used to display the exchange rates.

How to run

Without backend

Run fake rest api

npx json-server --watch ./src/fakeDB.json --port 3001

Change fetch From app.js to

fetch("http://localhost:3001/currencies");
// fetch("http://localhost:5000/today/list")

With backend

Use the instructions from:

How it Looks

Converter route
Table route