Skip to content

jianghujs/jianghujs-3table-crud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jianghujs-3table-crud

数据库配置

# 数据库初始化
create database `jianghujs_3table_crud` default character set utf8mb4 collate utf8mb4_bin;
use jianghujs_3table_crud;
# 运行 sql/init.sql 文件

代码配置

  1. npm install
  2. 复制 config.local.example.jsconfig.local.js
  3. 并且修改数据库配置为自己的数据库, 例如:
    host: '127.0.0.1',
    port: 3306,
    user: 'root',
    password: '123456',
    database: 'jianghujs_3table_crud'
    
  4. 启动 npm run dev

测试账号 & 测试环境

  • admin/123456