All Projects → miansen → springboot-react-blog

miansen / springboot-react-blog

Licence: MIT license
使用 springboot 和 react 开发的博客系统

Programming Languages

javascript
184084 projects - #8 most used programming language
java
68154 projects - #9 most used programming language
CSS
56736 projects
Less
1899 projects
HTML
75241 projects

Projects that are alternatives of or similar to springboot-react-blog

Jeecg Boot
「企业级低代码平台」前后端分离架构SpringBoot 2.x,SpringCloud,Ant Design&Vue,Mybatis-plus,Shiro,JWT。强大的代码生成器让前后端代码一键生成,无需写任何代码! 引领新的开发模式OnlineCoding->代码生成->手工MERGE,帮助Java项目解决70%重复工作,让开发更关注业务,既能快速提高效率,帮助公司节省成本,同时又不失灵活性。
Stars: ✭ 26,432 (+34227.27%)
Mutual labels:  springboot, mybatis, ant-design
Demo Project
存放学习过程中的demo项目,别光fork,顺便点下⭐哦
Stars: ✭ 198 (+157.14%)
Mutual labels:  springboot, mybatis
Seconds Kill
基于 Springboot + Redis + Kafka 的秒杀系统,乐观锁 + 缓存 + 限流 + 异步,TPS 从 500 优化到 3000
Stars: ✭ 180 (+133.77%)
Mutual labels:  springboot, mybatis
My Blog Layui
layui 版本的 My-Blog : A simple & beautiful blogging system implemented with spring-boot & layui & thymeleaf & mybatis My Blog 是由 SpringBoot + Layui + Mybatis + Thymeleaf 等技术实现的 Java 博客系统,页面美观、功能齐全、部署简单及完善的代码,一定会给使用者无与伦比的体验
Stars: ✭ 204 (+164.94%)
Mutual labels:  springboot, mybatis
My Blog
🌴A simple & beautiful blogging system implemented with spring-boot & thymeleaf & mybatis My Blog 是由 SpringBoot + Mybatis + Thymeleaf 等技术实现的 Java 博客系统,页面美观、功能齐全、部署简单及完善的代码,一定会给使用者无与伦比的体验
Stars: ✭ 2,400 (+3016.88%)
Mutual labels:  springboot, mybatis
Easyadmin
简易的java后台管理框架,基于SpringBoot+FreeMark+ace admin+mysql
Stars: ✭ 169 (+119.48%)
Mutual labels:  springboot, mybatis
Learningsummary
涵盖大部分Java进阶需要掌握的知识,包括【微服务】【中间件】【缓存】【数据库优化】【搜索引擎】【分布式】等等,欢迎Star~
Stars: ✭ 201 (+161.04%)
Mutual labels:  springboot, mybatis
Spring Boot Examples
个人学习 SpringBoot2.x 写的一些示例程序,目前正在持续更新中.....
Stars: ✭ 159 (+106.49%)
Mutual labels:  springboot, mybatis
Dynamic Datasource Spring Boot Starter
dynamic datasource for springboot 多数据源 动态数据源 主从分离 读写分离 分布式事务
Stars: ✭ 3,112 (+3941.56%)
Mutual labels:  springboot, mybatis
Springboot Learning Example
spring boot 实践学习案例,是 spring boot 初学者及核心技术巩固的最佳实践。
Stars: ✭ 14,640 (+18912.99%)
Mutual labels:  springboot, mybatis
black-postoffice
[무신사 신입] 익명으로 편하게 고민, 일상을 공유하는 소셜 네트워크 서비스입니다.
Stars: ✭ 31 (-59.74%)
Mutual labels:  springboot, mybatis
Spring Boot Leaning
Spring Boot 2.X 最全课程代码
Stars: ✭ 2,008 (+2507.79%)
Mutual labels:  springboot, mybatis
Crown
Based on SpringBoot2, Crown builds a rapidly developed web application scaffolding.
Stars: ✭ 161 (+109.09%)
Mutual labels:  springboot, mybatis
Spring Boot Plus
🔥 Spring-Boot-Plus is a easy-to-use, high-speed, high-efficient,feature-rich, open source spring boot scaffolding. 🚀
Stars: ✭ 2,198 (+2754.55%)
Mutual labels:  springboot, mybatis
Priest
dubbo mybatis springboot base soa rest api framework with customer code generator
Stars: ✭ 160 (+107.79%)
Mutual labels:  springboot, mybatis
Springboot mybatisplus
SpringBoot集成MyBatisPlus
Stars: ✭ 199 (+158.44%)
Mutual labels:  springboot, mybatis
robert
基于SpringCloud的企业级微服务多租户系统、多语言的脚手架, 代码组件化、高内聚低耦合,代码简介,注释丰富容易上手,该项目包括用于开发分布式应用程序服务的必要组件,支持多应用程序访问,并使开发人员可以轻松地使用Spring Cloud编程模型来开发分布式应用程序服务。
Stars: ✭ 45 (-41.56%)
Mutual labels:  springboot, mybatis
Sns Forum Website
牛客网高级项目(SNS+社区问答类网站)
Stars: ✭ 143 (+85.71%)
Mutual labels:  springboot, mybatis
Spring Boot Vue Bank
我,请始皇[打钱]是一个前后端分离的工具人系统,项目采用 SpringBoot+Go+Vue 开发,项目加入常见的企业级应用所涉及到的技术点,例如 Redis、RabbitMQ 等(主要是多用用工具多踩踩坑)。
Stars: ✭ 157 (+103.9%)
Mutual labels:  springboot, mybatis
Springboot Examples
spring boot 实践系列
Stars: ✭ 216 (+180.52%)
Mutual labels:  springboot, mybatis

springboot-react-blog

在线预览:http://101.34.121.225:3008

技术栈

  • SpringBoot
  • MyBatis
  • React
  • Redux
  • antd

功能

  • 首页浏览
  • 登录
  • 注册
  • 发文章
  • 评论
  • 通知
  • 文章详情
  • 主题详情
  • 作者详情

预览

快速开始

本地运行

需求环境

  • JDK 1.8 或以上
  • MySQL 5.7
  • Maven 3.5 或以上
  • Nodejs 10.13 或以上
  • yarn 1.12.3 或以上

1.克隆项目到本地:https://github.com/miansen/springboot-react-blog.git

2.创建 MySQL 数据库 tell,字符集 utf8mb4。

3.将项目下的 tell-server/src/main/resources/db/init.sql 文件导入到 tell 数据库。

4.修改数据源配置

打开数据源配置文件 tell-server/src/main/resources/application-dev.yml

spring:
  datasource:
    #  数据源基本配置(请换成你自己的)
    username: root
    password: 123
    url: jdbc:mysql://127.0.0.1:3306/tell?autoReconnect=true&useUnicode=true&characterEncoding=utf8&serverTimezone=GMT%2B8
    driver-class-name: com.mysql.jdbc.Driver

usernamepasswordurl 换成你自己的。

5.启动后台服务

进入 tell-server 目录,输入以下命令:

mvn install
mvn package
mvn spring-boot:run

6.启动前端界面

进入 tell-front 目录,输入以下命令:

yarn install
yarn start

7.打开浏览器访问即可,至此成功运行。

服务器 Docker 运行

需求环境

  • Docker
  • Docker-compose

1.克隆项目到服务器上:https://github.com/miansen/springboot-react-blog.git

2.cd springboot-react-blog 进入项目

3.修改 axios.js 配置

打开文件 tell-front/src/axios/axios.js,修改后端接口的配置。将 localhost 修改成你服务器的域名或者 IP,将端口 8080 改成 8090

const Axios = axios.create({
    baseURL: 'http://localhost:8080'
});

4.运行 docker-compose up -d 命令启动容器,-d 是后台运行的意思。

5.浏览器运行 http://ip:3008 , 后台地址 http://ip:8090

6.关闭容器 docker-compose down

7.查看日志 docker-compose logs -f server

P.S. 第一次运行会比较慢,请耐心等待。

反馈

issues

贡献

欢迎大家提 issues,谢谢!

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].