Skip to content

An LittleBlogSystem realized by java(SpringBoot)由java实现的小型博客系统(基于SpringBoot)

Notifications You must be signed in to change notification settings

ZhangHZ9802/MyLittleBlogSystem-Java-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MyLittleBlogSystem-Java

An LittleBlogSystem realized by java(SpringBoot)(jdk11)

简介:

该项目是一个基于SpringBoot的小型博客系统。 本项目基于SpringBoot、Dubbo、Zookeeper、Redis、MySQL实现了一个分布式博客系统。 功能包括账号的增删改查、文章的增删改查、文章评论的增删改查、热点文章的存取、文章的点赞等。

运行方式:

运行该项目需要搭建底层的数据库,运行Redis服务器,和Zookeeper服务器。 首先启动provider-mysql,再启动provider-redis,最后启动客户端client即可正常运行。 访问localhost:8091即可进入博客。

ps:

关于项目的介绍请看我的CSDN博文:https://blog.csdn.net/LostCatDragon/article/details/118581440

数据库的创建:

CREATE DATABASE zhz_blog;
CREATE TABLE user_account(
	user_id INT PRIMARY KEY NOT NULL AUTO_INCREMENT,
	user_account VARCHAR(20) NOT NULL UNIQUE,
	user_password VARCHAR(20) NOT NULL
);
CREATE TABLE article_comments(
	comment_id INT PRIMARY KEY NOT NULL AUTO_INCREMENT,
	comment_article_id INT NOT NULL,
	comment_owner VARCHAR(20) NOT NULL,
	comment_contents TEXT
);
CREATE TABLE user_articles(
	article_id INT PRIMARY KEY NOT NULL AUTO_INCREMENT,
	article_name VARCHAR(50)NOT NULL,
	article_content TEXT,
	article_owner VARCHAR(20)
);

About

An LittleBlogSystem realized by java(SpringBoot)由java实现的小型博客系统(基于SpringBoot)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published