Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/irezd/python-flask-app-with-numbersapi

This is a web application built using Flask and NumbersAPI, with a CI/CD workflow that automatically builds a Docker image whenever code changes are made to the repository.
https://github.com/irezd/python-flask-app-with-numbersapi

docker dockerfile githubactions numbersapi python restapi

Last synced: 25 days ago
JSON representation

This is a web application built using Flask and NumbersAPI, with a CI/CD workflow that automatically builds a Docker image whenever code changes are made to the repository.

Awesome Lists containing this project

README

        

# python-flask-app-with-numbersAPI
This is a web application, developed using Flask and NumbersAPI which allows users to enter a number and receive a fun fact related to the number. A Dockerfile is also included, which allows for the creation of a Docker image, facilitating ease of deployment and distribution.

![image](https://github.com/IrezD/python-flask-app-with-numbersAPI/assets/88015931/b80124de-163d-40b3-ad69-1faee4c99c6b)

# How to run:
After cloning repository, create a virutal environment to install flask and requests package
- Run: _pip install flask_
- Run: _pip install requests_
- Run: _python main.py_

**Alternatively**,
- Use the docker image: _irezden/numberapi:v2_
- Port: _5000_