Category Archives: Note

Getting Started with JSON Web Tokens and Python

JSON Web Token is an open standard that defines a way for securely transmitting JSON objects. The JSON object can be verified and trusted because it’s digitally signed. The JSON web tokens can be signed by using a secret with the HMAC algorithm or by public / private key pair using RSA.

How to Run Flask Database Migration.

Flask-Migrate is an extension that handles SQLAlchemy database migrations for Flask applications using Alembic. Database operations are made available through the Flask command-line interface or through the Flask-Script extension.