In the edition before last, I spoke about setting up Postgres locally. If you'd like a revision, here it is - Postgres (post 1)Postgres (post 1)
Installing Postgres locally and connecting to it from Python
First of all, what is Postgres and why do I care?
Over the course of our working with data, we come across a lot of ways of storing da...
In this article, I wanted to learn and talk about how we can set up a basic authentication flow in Python and leverage Postgres to both register a user and then authenticate said user if they wanted to login to a page post registration. This is a classic scenario in most application workflows where user based customization is desired.
First I need a USER table in postgres - What fields do I need? Really depends on the application tbh.
- Name
- TimeCreated
- TimeModified
- Role
- Active