https://github.com/caoyang2002/qoobk
query book
https://github.com/caoyang2002/qoobk
Last synced: 3 months ago
JSON representation
query book
- Host: GitHub
- URL: https://github.com/caoyang2002/qoobk
- Owner: caoyang2002
- Created: 2024-04-25T13:00:04.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-04-26T02:50:05.000Z (about 1 year ago)
- Last Synced: 2024-04-26T14:26:46.708Z (about 1 year ago)
- Language: Java
- Size: 37.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 一、说明
[about me](https://caoyang2002.top)
# 二、开始
## 1. install
```bash
mvn install
```## 2. create database
```sql
CREATE DATABASE qoobk CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;USE qoobk;
DROP TABLE IF EXISTS book;
CREATE TABLE book (
id MEDIUMINT NOT NULL AUTO_INCREMENT,
title CHAR(255) NOT NULL,
url VARCHAR(2048) CHARACTER SET utf8mb4,
PRIMARY KEY (id)
) ENGINE=InnoDB DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
```## 3. update database
get book name
```bash
python3 main.py
```update database
```bash
python3 insert_database_with_book_info.py
```# 使用
## doc
http://localhost:8081/doc.html