项目作者: sohum7

项目描述 :
Bank Application
高级语言: Python
项目地址: git://github.com/sohum7/Bank_Application.git
创建时间: 2020-09-23T19:56:12Z
项目社区:https://github.com/sohum7/Bank_Application

开源协议:

下载


Bank

A Bank application designed using Python and a custom MySQLconnector API to communicate with a MySQL database. This will allow the Bank to manage persistent data and is ACID compliant.

Config

A config.ini file is required and must contain login credentials in the following format:


## Start of File ##

[MYSQL]

host = yourHostName

username = yourUsername

password = yourPassword

database = yourDatabaseName

## End of File ##

MySQL database schema

CREATE TABLE “accounts” (

“account_no” int AUTO_INCREMENT,

“name” varchar(15) NOT NULL,

“balance” int NOT NULL,

“open_date” datetime DEFAULT CURRENT_TIMESTAMP,

PRIMARY KEY (“account_no”),

CONSTRAINT “accounts_chk_1” CHECK ((“balance” >= 0))

) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;