🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

midwayjs-cool-socket

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

midwayjs-cool-socket

基于socket.io的即使通讯

latest
Source
npmnpm
Version
1.0.8
Version published
Weekly downloads
20
Maintainers
1
Weekly downloads
 
Created
Source

Midway Logo

cool-admin(midway版)一个很酷的后台权限管理系统,开源免费,模块化、插件化、极速开发CRUD,方便快速构建迭代后台管理系统, 到 论坛 进一步了解

GitHub license GitHub tag GitHub tag

演示

https://show.cool-admin.com

  • 账户:admin
  • 密码:123456

Admin Home

文档

https://admin.cool-js.com

项目前端

https://github.com/cool-team-official/cool-admin-vue

微信群

Admin Wechat

微信公众号

Admin Wechat

运行

修改数据库配置,配置文件位于src/config/config.local.ts

数据库为mysql(>=5.7版本),首次启动会自动初始化并导入数据

config.orm = {
    type: 'mysql',
    host: '127.0.0.1',
    port: 3306,
    username: 'root',
    password: '',
    database: 'cool-admin',
    synchronize: true,
    logging: true,
}

安装依赖并运行

$ npm i
$ npm run dev
$ open http://localhost:8001/

注: 如果你的网络不佳可以尝试使用cnpm,或者切换您的镜像源

部署

$ npm start
$ npm stop

内置指令

  • 使用 npm run lint 来做代码风格检查。
  • 使用 npm test 来执行单元测试。

FAQs

Package last updated on 12 May 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts