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: about 2 months 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.
- Host: GitHub
- URL: https://github.com/irezd/python-flask-app-with-numbersapi
- Owner: IrezD
- Created: 2024-05-12T08:40:40.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-05-15T18:07:36.000Z (about 1 year ago)
- Last Synced: 2025-04-09T20:18:16.879Z (about 2 months ago)
- Topics: docker, dockerfile, githubactions, numbersapi, python, restapi
- Language: HTML
- Homepage:
- Size: 49.8 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.
# 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_