Skip to content

pallets-eco/flask-api-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Flask API Examples

A collection of web API example applications built with Flask and Flask extensions/frameworks.

Installation

Get the code:

$ git clone https://github.com/pallets-eco/flask-api-examples.git
$ cd flask-api-examples

Create & activate a virtual environment:

For macOS/Linux:

$ python3 -m venv env
$ source env/bin/activate

For Windows:

> python -m venv env
> env\Scripts\activate

Each example is stored in a different subfolder of examples. For example, the pure Flask example is in the flask folder. To run this example, change into that folder:

$ cd examples/flask

Then install the requirements and run the application:

$ pip install -r requirements.txt
$ flask run
  * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)

Read the README.md in the subfolder for more details of the specific Flask extensions/frameworks.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published