https://github.com/ahmedabougabal/express_fibonacci_api
This is a simple backend API built using Express.js that calculates the Fibonacci number for a given input. The API is containerized using Docker.
https://github.com/ahmedabougabal/express_fibonacci_api
alpine api backend docker expressjs fibonacci-numbers javascript nodejs
Last synced: 2 months ago
JSON representation
This is a simple backend API built using Express.js that calculates the Fibonacci number for a given input. The API is containerized using Docker.
- Host: GitHub
- URL: https://github.com/ahmedabougabal/express_fibonacci_api
- Owner: ahmedabougabal
- Created: 2024-08-07T21:18:17.000Z (10 months ago)
- Default Branch: master
- Last Pushed: 2024-08-08T10:17:16.000Z (10 months ago)
- Last Synced: 2025-01-21T19:26:10.220Z (4 months ago)
- Topics: alpine, api, backend, docker, expressjs, fibonacci-numbers, javascript, nodejs
- Language: JavaScript
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Fibonacci API


This is a simple backend API built using Express.js that calculates the Fibonacci number for a given input. The API is containerized using Docker, allowing it to run consistently across different environments.
```bash
# Clone the Repository
git clone https://github.com/ahmedabougabal/Express_Fibonacci_API.git
cd Express_Fibonacci_API# Build the Docker Image
docker build -t fibonacci-api .# Run the Docker Container
docker run -p 8080:8080 fibonacci-api# API Endpoint
curl http://localhost:8080/fibonacci ... or just type in the following URL in your browser : http://localhost:8080/