kx00012kx / nkm-server-ts

🧑‍💻 Node.js + Egg.js + TypeScript + Mysql + Redis 开发的后台管理系统服务端,测试账号:testAdmin/nkm-123456

Home Page:http://test-admin.xuanmo.xin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

后台服务端

用户角色权限说明

  1. 新增资源
  2. 新增角色然后角色关联资源
  3. 新增用户然后用户关联角色(目前已实现单用户多角色功能)

QuickStart

Development

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

Don't tsc compile at development mode, if you had run tsc then you need to npm run clean before npm run dev.

Deploy

$ npm run tsc
$ npm start

Npm Scripts

  • Use npm run lint to check code style
  • Use npm test to run unit test
  • se npm run clean to clean compiled js at development mode once

Requirement

  • Node.js 8.x
  • Typescript 2.8+

About

🧑‍💻 Node.js + Egg.js + TypeScript + Mysql + Redis 开发的后台管理系统服务端,测试账号:testAdmin/nkm-123456

http://test-admin.xuanmo.xin

License:MIT License


Languages

Language:TypeScript 81.6%Language:PLpgSQL 17.2%Language:JavaScript 1.2%