GithubHelp home page GithubHelp logo

huzhizhao / springcloud-pro Goto Github PK

View Code? Open in Web Editor NEW

This project forked from seco/springcloud-tools

0.0 1.0 0.0 88.11 MB

一个简单的脚手架,基于Spring Cloud 和 Vue3 构成。具体的技术有 Nacos、Feign、Gateway、vue3、element-plus、typescript、mysql等。

Java 26.22% JavaScript 4.05% HTML 3.59% Vue 45.69% TypeScript 13.44% SCSS 7.01%

springcloud-pro's Introduction

Spring Cloud 项目脚手架

版本说明

工具 版本
JDK 1.8
spring.cloud.version Hoxton.SR8
spring.boot.version 2.3.2.RELEASE
spring.cloud.alibaba.version 2.2.5.RELEASE
Nacos Version 2.0.1

模块注释

模块 功能 备注
pro-common 公共模块 公共实体、工具类等
pro-auth 鉴权模块 授权服务和资源服务
pro-gateway 网关模块 路由转发
pro-view 前端模块 前后端分离

MySQL文件:cloud_pro.sql

安装 Nacos

下载地址:
https://github.com/alibaba/nacos/releases/download/2.0.1/nacos-server-2.0.1.zip

本机是windows环境:

  • 下载完成后解压
  • 解压后nacos文件夹放到你喜欢的位置
  • 在命令行定位到nacos/bin的位置(例如 d:;cd nacos\bin;)

nacos持久化

  1. 新建数据库名为 nacos_config
  2. 导入nacos/conf 下的nacos_mysql.sql 文件
  3. 使用IDE工具修改 nacos/conf 下面的application.properties文件

找到Connect URL of DB修改,下面是我的示例,根据你的数据库配置自行修改:

### Count of DB:
db.num=1

### Connect URL of DB:
db.url.0=jdbc:mysql://127.0.0.1:3306/nacos_config?characterEncoding=utf8&connectTimeout=1000&socketTimeout=3000&autoReconnect=true&useUnicode=true&useSSL=false&serverTimezone=UTC
db.user.0=root
db.password.0=root

启动 Nacos

windows启动命令如下:

D:\nacos\bin> .\startup.cmd -m standalone

springcloud-pro's People

Contributors

cuifuan avatar xiaohundun avatar like-aiquan avatar

Watchers

James Cloos 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.