{"id":16103797,"url":"https://github.com/freewall/fibonacci","last_synced_at":"2025-04-06T02:22:52.322Z","repository":{"id":189351205,"uuid":"680458821","full_name":"FreeWall/fibonacci","owner":"FreeWall","description":"Fibonacci app","archived":false,"fork":false,"pushed_at":"2023-08-19T19:05:57.000Z","size":293,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-30T06:02:32.138Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://fibonacci.michalvanek.cz","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/FreeWall.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-19T10:01:43.000Z","updated_at":"2023-11-23T08:42:10.000Z","dependencies_parsed_at":"2024-10-31T17:22:41.931Z","dependency_job_id":"770cc464-3326-46d5-b3a2-fdc2e9b53ec7","html_url":"https://github.com/FreeWall/fibonacci","commit_stats":null,"previous_names":["freewall/fibonacci"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FreeWall%2Ffibonacci","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FreeWall%2Ffibonacci/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FreeWall%2Ffibonacci/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FreeWall%2Ffibonacci/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FreeWall","download_url":"https://codeload.github.com/FreeWall/fibonacci/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247424257,"owners_count":20936736,"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-09T18:58:47.172Z","updated_at":"2025-04-06T02:22:52.301Z","avatar_url":"https://github.com/FreeWall.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fibonacci app\n\n![](https://wakatime.com/badge/user/d694f266-3f1b-44cd-82b9-e9c093472e23/project/f7cf69a2-8dec-499d-a3ff-096d60d1a7cc.svg)\n[![](https://img.shields.io/github/deployments/FreeWall/fibonacci/Production?logo=vercel\u0026label=vercel)](https://fibonacci.michalvanek.cz/)\n\n\u003e create a client/server application with the following functionality:\n\u003e\n\u003e the server will provide one endpoint, which takes the number N and returns the Nth Fibonacci number, for example, F(0)=0, F(1)=1, F(8)=21\n\u003e\n\u003e the client will be a SPA, consisting of one input field and a button. When the user enters a number and pressed the button, the app calls the server endpoint and displays the returned Fibonacci number. The visual design of the app is not important.\n\u003e\n\u003e We would prefer if both the client and the server are created using TypeScript, the server using NodeJS, and the client in React. You can choose any additional libraries/dependencies. You do not have to handle all edge cases but it would be good to mention them in the comments with a suggestion on how to handle them. The output of the assignment is a runnable project (projects) with a short description of how to install and run it.\n\n## Installation\n\n```shell\ngit clone https://github.com/FreeWall/fibonacci\ncd fibonacci\nnpm run deploy\n```\n\nServer is started on port 3000, visit http://localhost:3000/\n\n### Vercel\n\nProject is also deployed on Vercel hosting: [fibonacci.michalvanek.cz](https://fibonacci.michalvanek.cz/)\n\nVercel has 10s request execution timeout apparently, so anything above ~ 500 000 is failing. This could be solved by precomputing starting numbers by every 100 000 into a separate DB (e.g. SQLite) in build time, so that there is no need to compute hundreds of thousands of numbers everytime.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreewall%2Ffibonacci","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffreewall%2Ffibonacci","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreewall%2Ffibonacci/lists"}