Login / registration system that records user information such as username, email, password and last login to an SQL database (IBM Db2) in the cloud.
The objective of this simple project is to understand how to create queries against a table in SQL language and how to use an API (ibm_db) in Python for database manipulation.
First, you must create an account in the IBM cloud and choose the IBM Db2 service. After that, you can obtain your credentials and change the contents of the variables on lines 10 and 11 with your ID and password, respectively.
The project uses only a table called users, so if you want to create with the same columns and data types, run create_table.sql file in the database console.
Copyright (c) 2020 Mateus Victor