Skip to content

Integrated exchange rates api with tables - #37

Open
diana-klymchyk wants to merge 1 commit into
Dishboard:mainfrom
diana-klymchyk:feature/fullstack-task
Open

Integrated exchange rates api with tables#37
diana-klymchyk wants to merge 1 commit into
Dishboard:mainfrom
diana-klymchyk:feature/fullstack-task

Conversation

@diana-klymchyk

Copy link
Copy Markdown

image

What was done:

Backend
Implemented a GraphQL query to fetch exchange rates.
Integrated data source from the Czech National Bank official API.
Implemented caching in PostgreSQL with a 5-minute expiration:
If the cached rates are older than 5 minutes, they are fetched again from the bank.
Otherwise, data is served from the database.
Added a migration to support exchange rate storage.

Frontend
Created a table component to display exchange rates.
Implemented a time tracker to show when the rates were last updated.
Used GraphQL query to fetch data.

image

Tech stack used:

NestJS, GraphQL, TypeORM, PostgreSQL, React, TypeScript, GraphQL Apollo Client, Styled components

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant