Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Comments

Integrated exchange rates api with tables#37

Open
diana-klymchyk wants to merge 1 commit intoDishboard:main from
diana-klymchyk:feature/fullstack-task
Open

Integrated exchange rates api with tables #37
diana-klymchyk wants to merge 1 commit intoDishboard:main from
diana-klymchyk:feature/fullstack-task

Conversation

@diana-klymchyk
Copy link

@diana-klymchyk diana-klymchyk commented Feb 28, 2025

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /