{"id":15605533,"url":"https://github.com/tswayne/cnb-currency-converter","last_synced_at":"2025-11-08T12:30:41.342Z","repository":{"id":65710515,"uuid":"597861875","full_name":"tswayne/cnb-currency-converter","owner":"tswayne","description":null,"archived":false,"fork":false,"pushed_at":"2023-02-06T20:24:55.000Z","size":175,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-28T03:18:21.811Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tswayne.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2023-02-05T21:06:46.000Z","updated_at":"2023-02-05T21:07:12.000Z","dependencies_parsed_at":"2023-02-19T04:00:48.973Z","dependency_job_id":null,"html_url":"https://github.com/tswayne/cnb-currency-converter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tswayne%2Fcnb-currency-converter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tswayne%2Fcnb-currency-converter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tswayne%2Fcnb-currency-converter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tswayne%2Fcnb-currency-converter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tswayne","download_url":"https://codeload.github.com/tswayne/cnb-currency-converter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239558690,"owners_count":19658925,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-03T04:08:14.942Z","updated_at":"2025-11-08T12:30:41.301Z","avatar_url":"https://github.com/tswayne.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CNB currency converter\n\n## Tech overview\nApplication bootstrapped with:\n* Create React App w/ typescript ([docs](https://create-react-app.dev/docs/adding-typescript/#installation))\n* Styled Components, using [Grommet](https://v2.grommet.io/) as a quick-start component library (found through Styled Components [ecosystem page](https://styled-components.com/ecosystem))\n  * I had never used Grommet before, but wanted to use a component library in order to move a bit faster.  The developer experience is pretty nice, but the resulting DOM is a bit verbose.  Would need to spend a little more time with it to form an opinion.\n* Base Http Client (my [own package](https://github.com/tswayne/base-http-client-js)), for very simple http interactions\n* React Query\n\n## Callouts\n* The CNB website sets a specific CORS allowed origin (to `apl.cnb.cz`), which causes modern browsers to reject an api request directly to their domain.\n  To get around that, I have a simple proxy route to pass all requests to `cnb.cz` through.  **Note** The server implementation is very bare bones (i.e. a simple express server written in js) as it's simply a means to complete the exercise as instructed.\n\n## Running the application\n* Requires node, safest version to use would be LTS (18)\n* Install dependencies with `yarn` (or `npm i`, version ranges in package.json should be safe)\n* Start the client and proxy server together with `npm start`\n* Go to `http://localhost:3000/` (tested on Chrome)\n* Run tests with `npm test`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftswayne%2Fcnb-currency-converter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftswayne%2Fcnb-currency-converter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftswayne%2Fcnb-currency-converter/lists"}