How to Add Authentication to App with Flask-LoginWe can implement authentication, login/logout functionality in flask app using Flask-Login. In this article, we'll explore how to add authentication to a Flask app using Flask-Login.To get started, install Flask, Flask-Login, Flask-SQLAlchemy and Werkzeug using this command:pip install flask flask_s
6 min read
How to return a JSON response from a Flask API ?When building a REST API with Flask, JSON is the standard format used to send data between the server and client. It's simple, readable and works well across platforms. Flask makes it easy to return JSON responses, which is useful for sending data like user info, product details or status messages t
3 min read