Coder Social home page Coder Social logo

yrm1990525 / novel Goto Github PK

View Code? Open in Web Editor NEW

This project forked from 201206030/novel

0.0 0.0 0.0 97.09 MB

novel 是一套基于时下最新 Java 技术栈 Spring Boot 3 + Vue 3 开发的前后端分离学习型小说项目,配备保姆级教程手把手教你从零开始开发上线一套生产级别的 Java 系统,由小说门户系统、作家后台管理系统、平台后台管理系统等多个子系统构成。包括小说推荐、作品检索、小说排行榜、小说阅读、小说评论、会员中心、作家专区、充值订阅、新闻发布等功能。

Home Page: https://docs.xxyopen.com

License: Apache License 2.0

Java 100.00%

novel's Introduction

index

Java 17 Spring Boot 3 Vue 3
Github stars Github forks Gitee stars Gitee forks visitors

项目简介

novel 是一套基于时下最新 Java 技术栈 Spring Boot 3 + Vue 3 开发的前后端分离学习型 小说项目,配备保姆级教程手把手教你从零开始开发上线一套生产级别的 Java 系统,由小说门户系统、作家后台管理系统、平台后台管理系统等多个子系统构成。包括小说推荐、作品检索、小说排行榜、小说阅读、小说评论、会员中心、作家专区、充值订阅、新闻发布等功能。

项目地址

开发环境

  • MySQL 8.0
  • Redis 7.0
  • Elasticsearch 8.2.0(可选)
  • RabbitMQ 3.10.2(可选)
  • XXL-JOB 2.3.1(可选)
  • JDK 17
  • Maven 3.8
  • IntelliJ IDEA 2021.3(可选)
  • Node 16.14

注:Elasticsearch、RabbitMQ 和 XXL-JOB 默认关闭,可通过 application.yml 配置文件中相应的enable配置属性开启。

后端技术选型

技术 版本 说明 官网 学习
Spring Boot 3.0.0 容器 + MVC 框架 https://spring.io/projects/spring-boot 进入
MyBatis 3.5.9 ORM 框架 http://www.mybatis.org 进入
MyBatis-Plus 3.5.3 MyBatis 增强工具 https://baomidou.com/ 进入
JJWT 0.11.5 JWT 登录支持 https://github.com/jwtk/jjwt -
Lombok 1.18.24 简化对象封装工具 https://github.com/projectlombok/lombok 进入
Caffeine 3.1.0 本地缓存支持 https://github.com/ben-manes/caffeine 进入
Redis 7.0 分布式缓存支持 https://redis.io 进入
Redisson 3.17.4 分布式锁实现 https://github.com/redisson/redisson 进入
MySQL 8.0 数据库服务 https://www.mysql.com 进入
ShardingSphere-JDBC 5.1.1 数据库分库分表支持 https://shardingsphere.apache.org 进入
Elasticsearch 8.2.0 搜索引擎服务 https://www.elastic.co 进入
RabbitMQ 3.10.2 开源消息中间件 https://www.rabbitmq.com 进入
XXL-JOB 2.3.1 分布式任务调度平台 https://www.xuxueli.com/xxl-job 进入
Sentinel 1.8.4 流量控制组件 https://github.com/alibaba/Sentinel 进入
Springdoc-openapi 2.0.0 Swagger 3 接口文档自动生成 https://github.com/springdoc/springdoc-openapi 进入
Spring Boot Admin 3.0.0-M1 应用管理和监控 https://github.com/codecentric/spring-boot-admin 进入
Undertow 2.2.17.Final Java 开发的高性能 Web 服务器 https://undertow.io 进入
Docker - 应用容器引擎 https://www.docker.com/ -
Jenkins - 自动化部署工具 https://github.com/jenkinsci/jenkins -
Sonarqube - 代码质量控制 https://www.sonarqube.org/ -

注:更多热门新技术待集成。

前端技术选型

技术 版本 说明 官网 学习
Vue.js 3.2.13 渐进式 JavaScript 框架 https://vuejs.org 进入
Vue Router 4.0.15 Vue.js 的官方路由 https://router.vuejs.org 进入
axios 0.27.2 基于 promise 的网络请求库 https://axios-http.com 进入
element-plus 2.2.0 基于 Vue 3,面向设计师和开发者的组件库 https://element-plus.org 进入

编码规范

  • 规范方式:严格遵守阿里编码规约。
  • 命名统一:简介最大程度上达到了见名知意。
  • 分包明确:层级分明可快速定位到代码位置。
  • 注释完整:描述性高大量减少了开发人员的代码阅读工作量。
  • 工具规范:使用统一jar包避免出现内容冲突。
  • 代码整洁:可读性、维护性高。
  • 依赖版本:所有依赖均使用当前最新可用版本以便新技术学习。

包结构

io
 +- github
     +- xxyopen   
        +- novel
            +- NovelApplication.java -- 项目启动类
            |
            +- core -- 项目核心模块,包括各种工具、配置和常量等
            |   +- common -- 业务无关的通用模块
            |   |   +- exception -- 通用异常处理
            |   |   +- constant -- 通用常量   
            |   |   +- req -- 通用请求数据格式封装,例如分页请求数据  
            |   |   +- resp -- 接口响应工具及响应数据格式封装 
            |   |   +- util -- 通用工具   
            |   | 
            |   +- annotation -- 自定义注解类
            |   +- aspect -- Spring AOP 切面
            |   +- auth -- 用户认证授权相关
            |   +- config -- 业务相关配置
            |   +- constant -- 业务相关常量         
            |   +- filter -- 过滤器 
            |   +- interceptor -- 拦截器
            |   +- json -- JSON 相关的包,包括序列化器和反序列化器
            |   +- task -- 定时任务
            |   +- util -- 业务相关工具 
            |   +- wrapper -- 装饰器
            |
            +- dto -- 数据传输对象,包括对各种 Http 请求和响应数据的封装
            |   +- req -- Http 请求数据封装
            |   +- resp -- Http 响应数据封装
            |
            +- dao -- 数据访问层,与底层 MySQL 进行数据交互
            +- manager -- 通用业务处理层,对第三方平台封装、对 Service 层通用能力的下沉以及对多个 DAO 的组合复用 
            +- service -- 相对具体的业务逻辑服务层  
            +- controller -- 主要是处理各种 Http 请求,各类基本参数校验,或者不复用的业务简单处理,返回 JSON 数据等
            |   +- front -- 小说门户相关接口
            |   +- author -- 作家管理后台相关接口
            |   +- admin -- 平台管理后台相关接口
            |   +- app -- app 接口
            |   +- applet -- 小程序接口
            |   +- open -- 开放接口,供第三方调用 

截图

  1. 首页

img

  1. 分类索引页

img

  1. 搜索页

img

img

  1. 排行榜

img

  1. 详情页

img

  1. 阅读页

img

  1. 用户中心

img

  1. 充值

img

img

  1. 作家专区

img

img

img

img

  1. 购买

img

img

  1. 接口文档

img

安装步骤

👉 立即查看

答疑

为了方便管理和查阅,安装过程中遇到任何问题请统一在指定评论区 👉 立即前往 留言 ,谢谢大家的配合!

公众号

  • 关注公众号接收项目文档的更新动态

  • 加微信群学习交流,公众号后台回复「微信群」即可

  • 回复「资料」获取Java 学习面试资料

  • 回复「笔记」获取Spring Boot 3 学习笔记

xxyopen

赞赏支持

开源项目不易,若此项目能得到你的青睐,那么你可以赞赏支持作者持续开发与维护。

  • 更完善的文档教程
  • 服务器的费用也是一笔开销
  • 为用户提供更好的开发环境
  • 一杯咖啡

novel's People

Contributors

x201206030 avatar 201206030 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.