Coder Social home page Coder Social logo

bytesc / springboot-crud-templete Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 51 KB

✨ 基于 Java SpringBoot3, Mysql, Redis 的信息管理系统:实现信息的增删改查,文件的对象存储,权限管理,令牌的签验。

Home Page: http://www.bytesc.top

License: MIT License

Java 100.00%

springboot-crud-templete's Introduction

springboot-crud-templete

基于 Java SpringBoot3, Mysql, Redis 的信息管理系统:实现信息的增删改查,文件的对象存储,权限管理,令牌的签验。

个人网站:www.bytesc.top

个人博客:blog.bytesc.top

🔔 如有项目相关问题,欢迎在本项目提出issue,我一般会在 24 小时内回复。

功能简介

  • 信息的增删改查
  • 文件的对象存储
  • 权限管理,令牌的签验

如何使用

环境

  • Java21
  • maven-3.9.6
  • docker 24.0.6
  • mysql 8.0.31
  • redis 7.2.4

Mysql

登录mysql

mysql –uroot –p123456
# 用户名和密码根据实际情况替换

创建数据库,执行创建数据库脚本

create database java_crud_start;
use java_crud_start;
source ./db/database.sql;

根据实际情况填写配置文件: .\src\main\resources\application.yml

spring:
  datasource:
    driver-class-name: com.mysql.cj.jdbc.Driver
    url: jdbc:mysql://localhost:3306/java_crud_start
    username: root
    password: 123456

Redis

docker run --name myredis -it -p 6379:6379 -v /data/redis-data  redis --requirepass "123456"

根据实际情况填写配置文件: .\src\main\resources\application.yml

  data:
    redis:
      host: 127.0.0.1
      port: 6379
      password: 123456

阿里云OSS文件对象存储

如果无需使用文件上传功能,可忽略此配置。

相关服务获取:阿里云oss

根据实际情况填写配置文件: .\src\main\resources\application.yml

oss:
  key-id:
  key-secret:
  bucket-name:
  end-point:

启动项目

mvn spring-boot:run

# mvn package -DskipTests
#  java -jar .\helloworld-1.0-SNAPSHOT.jar

接口说明

./posyman-api/spring.postman_collection.json

springboot-crud-templete's People

Contributors

bytesc avatar

Stargazers

 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.