Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
jwtapp
.gitignore
README.md
run
run.cmd
run.ps1
setup.py

README.md

A Simple Flask JWT Example

This is a simple example of using JSON Web Tokens (JWT) in a Python Flask web application that provides RESTful APIs.

Quick Start

Create a Python Virtual Environment

Create a Python 3.x virtual environment with:

cd pxsvr
python -m venv .virtualenv

Depending on how Python has been installed, you might need to use "python3" on some systems (i.e. MacOS with Homebrew).

Activate the Virtual Environment

Windows:

.virtualenv\Scripts\activate

Linux/MacOS:

.virtualenv/bin/activate

Setup

pip install -e .

This installs the necessary depencies in your virtual environment.

Run the Dev Server

./run
You can’t perform that action at this time.