GithubHelp home page GithubHelp logo

blessingchess's Introduction

BlessingChess

棋开得胜-学生在线2024寒假实训项目-后端仓库

开发者

后端

lxy
lrq
ljy

部署

环境:java17+,javafx17+

复制application.yml.example为application.yml,根据实际情况修改。

接口文档:

BlessingChess接口文档

数据库结构

CREATE DATABASE `BlessingChess`;
-- 创建用户表
CREATE TABLE BlessingChess.`user` (
	id INTEGER auto_increment NOT NULL,
	session_key TEXT NULL,
	open_id TEXT NOT NULL,
	last_time DATE NULL,
	username TEXT NOT NULL,
	invitation_code TEXT NOT NULL,
	dice_num INTEGER NOT NULL,
	position INTEGER NOT NULL,
	CONSTRAINT user_pk PRIMARY KEY (id)
)
ENGINE=InnoDB
DEFAULT CHARSET=utf8mb4
COLLATE=utf8mb4_0900_ai_ci;
-- 创建祝福表
CREATE TABLE BlessingChess.blessing (
	id INTEGER auto_increment NOT NULL,
	`sender_id` INTEGER NOT NULL,
	`receiver_id` INTEGER NOT NULL,
	`delivery-_time` DATE NULL,
	content TEXT NULL,
	icon TEXT NULL,
	background TEXT NULL,
	is_viewed BOOL NOT NULL,
	public BOOL NOT NULL,
	CONSTRAINT blessing_pk PRIMARY KEY (id)
)
ENGINE=InnoDB
DEFAULT CHARSET=utf8mb4
COLLATE=utf8mb4_0900_ai_ci;
-- 创建贺卡表
CREATE TABLE BlessingChess.card (
	id INTEGER auto_increment NOT NULL,
	sender_id INTEGER NOT NULL,
	delivery_time DATE NULL,
	content TEXT NULL,
	icon TEXT NULL,
	background TEXT NULL,
	CONSTRAINT card_pk PRIMARY KEY (id)
)
ENGINE=InnoDB
DEFAULT CHARSET=utf8mb4
COLLATE=utf8mb4_0900_ai_ci;
-- 创建贺卡接收关系表
CREATE TABLE BlessingChess.card_receiver_relations (
	id INTEGER auto_increment NOT NULL,
	card_id INTEGER NOT NULL,
	receiver_id INTEGER NOT NULL,
	CONSTRAINT card_receiver_relations_pk PRIMARY KEY (id)
)
ENGINE=InnoDB
DEFAULT CHARSET=utf8mb4
COLLATE=utf8mb4_0900_ai_ci;

blessingchess's People

Contributors

nicccce avatar qiu-ling-t avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.