This is a simple Flask API that fetches a random Chuck Norris joke and returns it as JSON. With DigitalOcean's One-Click Deploy button, you can instantly deploy this app in the cloud.
- When you visit
/
, the app fetches a random joke from the Chuck Norris API. - Returns the joke as JSON.
- Runs on port 8080.
do-one-click-deploy-flask/
│── app.py # Flask application fetching jokes
│── wsgi.py # WSGI entry point for deployment
│── requirements.txt # Dependencies for the Flask app
│── .do/
│ └── deploy.template.yaml # DigitalOcean deployment configuration
│── README.md # Project documentation
Click the button below to instantly deploy this app on DigitalOcean App Platform:
git clone https://github.com/do-community/do-one-click-deploy-flask.git
cd do-one-click-deploy-flask
pip install -r requirements.txt
python app.py
MIT License