Code Monkey home page Code Monkey logo

chzh1229 / octopus-forum-v2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from peterhostfuck/octopus-forum-v2

0.0 0.0 0.0 21.33 MB

章鱼社区,学习SpringBoot的小项目,一个学习编程,分享生活的小社区。主要功能,注册登入(支持第三方用户,qq,github,百度账号登入),发帖,采纳问题,消息通知,点赞,回复,关注,收藏。聊天室。每日签到得积分等。。。

Home Page: http://www.zykcoderman.xyz

Java 47.12% CSS 15.89% JavaScript 24.67% HTML 12.33%

octopus-forum-v2's Introduction

章鱼社区

技术栈

  1. SpringBoot。Thymeleaf模板引擎。
  2. 数据访问层:Mybatis。
  3. 数据库:MySql。
  4. 服务器:内置Tomcat。
  5. 前端相关:Jquery,Bootstrap,Ajax,Layer等。
  6. 文件上传:OSS对象存储。
  7. 短信验证:阿里云的短信服务。
  8. 富文本编辑器:Editormd。
  9. OAuth2授权登入(Github , 百度,QQ)
  10. Redis分布式内存数据库,实现热点数据缓存,每日签到。

快速运行

  1. 安装必备工具
    JDK,Maven, Redis,git

  2. 克隆代码到本地

  3. 运行命令创建数据库脚本(注意字符编码设置为utf8mb4)

  4. 启动redis服务

  5. 运行项目

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

目录结构

主要目录结构如下:

├─coderman              应用目录
│  ├─controller         控制器目录
│  ├─modal              映射数据库实体类
│  ├─dto                网络传输对象
│  ├─intercepter        拦截器
│  ├─myenums            枚举类
│  ├─provider           提供者
│  ├─service            业务逻辑层
│  ├─advice             配置类
│  ├─exception          自定义异常
│  ├─dao                数据访问层
│  ├─utils              工具类
|__├─test               测试类
  1. 访问项目
http://localhost:8080

主要功能

  1. 发帖
  2. 选择分类
  3. 选择标签
  4. 评论
  5. 通知
  6. 关注
  7. 点赞
  8. 登入,注册
  9. 搜索
  10. 话题
  11. 排序
  12. 聊天室
  13. 签到

部署

  1. 阿里云ESC云主机部署

资料

Spring 文档
Spring Web
es
Github deploy key
Bootstrap
Github OAuth
Spring
菜鸟教程
Thymeleaf
Spring Dev Tool
Spring MVC
Markdown 插件
UFfile SDK
Count(*) VS Count(1)

工具

Git
Visual Paradigm
Flyway
Lombok
ctotree
Table of content sidebar
One Tab
Live Reload
Postman

本地部署

  1. 导入sql文件夹的sql脚本
  2. 修改配置文件的内容(application.properties)
spring.datasource.username=your_database_name
spring.datasource.password=your_database_password
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
spring.datasource.url=jdbc:mysql://localhost:3306/coderman
  1. 如果需要第三方登入(将已下的配置改成自己的就OK)
#Github
github.client.id=*****
github.client.secret=********
github.client.redirecturi=*******

##baidu
baidu.client.id=*******
baidu.client.secret=**********
baidu.client.redirecturi=********

##qq
qq.client.id=******
qq.client.secret=*******
qq.client.redirecturi=********

#修改成自己阿里云Key和accessKeySecret
oss.endpoint=********
oss.accessKeyId=*****
oss.bucketName =*****
oss.accessKeySecret =*******

4.启动项目

  1. 浏览器访问:http://localhost:8080 (看到已下页面就成功了)

  2. 后台管理地址: http://localhost:8080/admin/login 后台

  • username: admin
  • password: 123456

首页

话题

打赏

微信

支付宝

联系

章鱼社区交流群:830790908

友情链接

章鱼权限系统 码问

octopus-forum-v2's People

Contributors

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