Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tahmidefaz/flask-test-api
https://github.com/tahmidefaz/flask-test-api
Last synced: about 12 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/tahmidefaz/flask-test-api
- Owner: tahmidefaz
- Created: 2024-09-04T02:32:23.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-09-09T21:48:41.000Z (2 months ago)
- Last Synced: 2024-09-11T02:15:56.921Z (2 months ago)
- Language: Python
- Homepage: https://flask-test-api-pi.vercel.app
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fvercel%2Fexamples%2Ftree%2Fmain%2Fpython%2Fflask3&demo-title=Flask%203%20%2B%20Vercel&demo-description=Use%20Flask%203%20on%20Vercel%20with%20Serverless%20Functions%20using%20the%20Python%20Runtime.&demo-url=https%3A%2F%2Fflask3-python-template.vercel.app%2F&demo-image=https://assets.vercel.com/image/upload/v1669994156/random/flask.png)
# Flask + Vercel
This example shows how to use Flask 3 on Vercel with Serverless Functions using the [Python Runtime](https://vercel.com/docs/concepts/functions/serverless-functions/runtimes/python).
## Demo
https://flask-python-template.vercel.app/
## How it Works
This example uses the Web Server Gateway Interface (WSGI) with Flask to enable handling requests on Vercel with Serverless Functions.
## Running Locally
```bash
npm i -g vercel
vercel dev
```Your Flask application is now available at `http://localhost:3000`.
## One-Click Deploy
Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=vercel-examples):
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fvercel%2Fexamples%2Ftree%2Fmain%2Fpython%2Fflask3&demo-title=Flask%203%20%2B%20Vercel&demo-description=Use%20Flask%203%20on%20Vercel%20with%20Serverless%20Functions%20using%20the%20Python%20Runtime.&demo-url=https%3A%2F%2Fflask3-python-template.vercel.app%2F&demo-image=https://assets.vercel.com/image/upload/v1669994156/random/flask.png)