Skip to content

javc86/api-control-hub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Api Fibonacci

It's an Api Rest with the an endpoint returns the fibonacci result like to indicate below:

http://localhost:3000/api/fibonacci/6

Install

npm i

Run

npm start

Solution

For this solution, I use Nodejs and express because it's so easy to construct web app faster and scalable and flexible with the express framework.

For the fibonacci calculation I implemented a simple recursive functionality calculate the previous values in the fibonacci serie based a positive and integer number.

Improvements

Restructure the project with typescript and patterns to improve the quality, sturdiness and typing.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published