Coder Social home page Coder Social logo

mengxiangtong / blog-vue-springboot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shimh-develop/blog-vue-springboot

1.0 1.0 0.0 16.27 MB

基于Vue+SpringBoot构建的博客项目

JavaScript 11.23% HTML 5.15% Vue 26.71% CSS 2.37% Java 47.72% TSQL 6.81%

blog-vue-springboot's Introduction

Vue + SpringBoot实现的博客系统

线上地址:For Fun

ssr 服务端渲染版本

ssr分支

效果图

首页

image

登录页

image

注册页

image

文章分类-标签、详情

image

image

文章归档

image

写文章

image

文章详情

image

评论

image

技术

前端 blog-app

  • Vue
  • Vue-router
  • Vuex
  • ElementUI
  • mavon-editor
  • lodash
  • axios
  • Webpack

后端 blog-api

  • SpringBoot
  • Shiro
  • Jpa
  • Redis
  • Fastjson
  • Druid
  • MySQL
  • Maven

实现功能

整体

  • 用户:登录 注册 退出
  • 首页:文章列表、最热标签、最新文章、最热文章
  • 文章分类-标签:列表、详情
  • 文章归档
  • 文章:写文章、文章详情
  • 评论:文章添加评论 对评论回复
  • 文章列表滑动分页

后端

  • 用户、文章、文章分类、标签和评论 增删改查api接口
  • 基于token权限控制
  • Redis存储Session
  • 全局异常处理
  • 操作日志记录

待实现功能

  • 评论的分页 点赞
  • 留言板
  • 第三方登录
  • ......

运行

将项目clone到本地

方式一 直接运行SpringBoot项目(已将打包的静态文件放到了 resources/static下)

  1. 将blog-api导入到IDE工具中
  2. resources/sql/blog-schema.sql、blog-data.sql导入MySQL数据库
  3. 打开Redis数据库
  4. resources/application.properties 修改MySQL、Redis连接
  5. Runas运行,访问:http://localhost:8888

方式二 前后分离(开发方式)

  1. 按方式一运行blog-api,提供api数据接口

  2. 打开命令行

    cd blog-app

    npm install

    npm run dev

  3. 访问:http://localhost:8080

  4. 修改blog-app/src 下的文件进行开发

  5. npm run build 生成最终静态文件

blog-vue-springboot's People

Contributors

shimh-develop avatar

Stargazers

 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.