GithubHelp home page GithubHelp logo

community's Introduction

基于SpringBoot的开源社区

本项目参考 码问社区 实现, 相关视频教程可在B站观看:【Spring Boot 实战】论坛项目-第一季

功能列表

  • 使用GitHub OAuth接口进行用户登录
  • 支持富文本编辑
  • 支持图片上传
  • 支持问题评论
  • 支持评论通知
  • 支持问题搜索

技术栈

技术 用途 链接
Spring Boot 项目框架 http://projects.spring.io/spring-boot/#quick-start
MySQL 数据库 https://dev.mysql.com/downloads/
MyBatis ORM框架 https://mybatis.org/mybatis-3/zh/index.html
MyBatis Generator MyBatis代码生成工具 http://mybatis.org/generator/
Flyway 数据库版本管理 https://flywaydb.org/getstarted/firststeps/maven
Lombok 注解插件 https://www.projectlombok.org
Bootstrap 前端框架 https://v3.bootcss.com/getting-started/
Github OAuth 第三方登录 https://developer.github.com/apps/building-oauth-apps/creating-an-oauth-app/
Tencent COS 图片存储 https://cloud.tencent.com/product/cos

下载与运行

1. 前置环境要求

  • JDK 1.8+
  • Maven 3.6.0+

2. 克隆代码到本地

git clone https://github.com/caoyucheng/community.git

3. 数据库配置

  1. 本地环境配置好MySQL,将application.properties中数据库相关参数根据本地环境进行修改
  2. 运行 migrate 和 generator 的命令:
mvn flyway:migrate
mvn -Dmybatis.generator.overwrite=true mybatis-generator:generate

4. 打包项目

mvn package

5. 运行项目

java -jar target/community-0.0.1-SNAPSHOT.jar

6. 访问项目

http://localhost:8887

community's People

Contributors

caoyucheng 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.