Skip to content

life-studied/IBase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IBase

​ 一个用C++开发的乐队数据管理软件。以ImGui为图形界面,底层封装了Mysql C API连接池操作数据库。

启动

下载

git clone git@github.com:life-studied/IBase.git

附加库编译(手动编译)

​ 编译dll完成放入exe生成文件夹,或者设置动态链接库目录。

jsoncpp

git clone git@github.com:open-source-parsers/jsoncpp.git

imgui(docking分支)

git clone git@github.com:ocornut/imgui.git

启动

​ 打开vs启动(默认RELEASE)。

环境说明

环境 版本 备注
Windows 11 https://www.microsoft.com/zh-cn/windows/windows-11
C++ 17 cppreference.com
Visual Studio vs2022 Visual Studio 2022 IDE - 适用于软件开发人员的编程工具 (microsoft.com)
Navicat 16 https://navicat.com.cn/

技术栈

技术 说明 版本 备注
MySQL Connector MySQL连接驱动库 8.0.27 https://dev.mysql.com/downloads/connector/cpp/ https://dev.mysql.com/doc/connector-cpp/1.1/en/connector-cpp-apps.html
OpenSSL 开源安全套接层协议 1.1.1L https://www.openssl.org/ https://www.xolphin.com/support/OpenSSL/OpenSSL_-_Installation_under_Windows
jsoncpp Mysql配置文件 1.9.5 open-source-parsers/jsoncpp: A C++ library for interacting with JSON. (github.com)
ImGui C++ Gui库 1.9.0 ocornut/imgui: Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies (github.com)

项目结构

3rdparty:第三方库

include:头文件

lib:静态库

asserts:图片资源

docs:sql文档

IBase:源代码目录

Configs:sql配置和imgui配置

resources:系统资源

LICENSE:许可证

.gitignore:忽略配置

README:自述文件

配置说明

数据库配置

​ 对数据库使用json文件进行配置,下面是配置说明。

配置选项 说明
ip 主机名
port 数据库端口
user 用户名
password 密码
dbName 使用的数据库
minSize 最小连接数
maxSize 最大连接数
timeOut 连接超时时间

数据库设计

ER图

ER-1

ER-2

sql文件

SQL文件

前端演示

image-20240116093059697

image-20240116093106770

image-20240116093116629

image-20240116093123916

image-20240116093132448

感谢

​ 本项目是双人开发,本人负责完成C++界面设计,数据库部分与另一同学协同开发完成。

About

ImGui数据库

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages