Giter Site home page Giter Site logo

hmwang2002 / citi-end Goto Github PK

View Code? Open in Web Editor NEW

This project forked from quas-modo/citi-end

1.0 0.0 0.0 265 KB

2024年花旗杯金融应用大赛参赛作品《ChatWhale——基于LLM的股权智析交互平台》后端项目

Java 99.18% Dockerfile 0.82%

citi-end's Introduction

backend

img

服务端:Spring Cloud,Spring Boot,mybatis-plus等。注册中心:nacos;权限认证:sa-token。

数据库:mysql,redis,mongodb。

云服务:使用阿里云OSS作为图片的云存储平台,使用阿里云短信服务sms进行手机验证码发送。

注册中心

使用Spring Cloud Alibaba Nacos作为服务注册和发现以及远程配置中心。

  • Nacos集群部署:为了提高注册中心的可用性和稳定性,可以将Nacos部署为集群模式,避免单点故障影响整个系统。
  • 服务健康检查:利用Nacos提供的健康检查机制,自动剔除不健康的服务实例,保证服务的高可用性。

API网关

基于Spring Cloud Gateway项目开发了我们的API网关,通过从Nacos动态获取运行中的服务节点,将客户端请求进行路径解析和分发至对应的服务集群。同时,使用Spring Cloud LoadBalancer实现请求的负载均衡。

用户中心

我们使用Sa-Token这一轻量级Java权限认证框架开发用户服务,用户信息持久化到MySQL数据库中,Session会话和token信息通过Redis缓存处理,多个用户服务节点共享Session会话信息,实现用户服务的高并发和高可用。

聊天中心

我们通过mongodb记录用户和大模型的聊天记录。

数据中心

通过MyBatis-Plus快速开发股票数据的CRUD操作。

新闻中心

提供热点新闻的访问接口。

云服务

我们使用阿里云SMS用于验证码发送服务,使用阿里云OSS存储图片等大文件。

  • 图片处理服务:集成阿里云的图片处理服务,优化图片的存储和传输。

citi-end's People

Contributors

quas-modo avatar

Stargazers

Haomin Wang 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.