# X-thinkjs-auth **Repository Path**: tudoushu/X-thinkjs-auth ## Basic Information - **Project Name**: X-thinkjs-auth - **Description**: 学习一下权限管理项目 - **Primary Language**: NodeJS - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 0 - **Created**: 2017-03-18 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 重要说明: - 请点击star。 - 请点击star。 - 请点击star。 - 重要的事情说三遍 权限控制说明: - 权限控制模块,现在进行开源。 访问地址: - 码云地址:http://git.oschina.net/tudoushu/X-thinkjs-auth 使用码云是因为国内速度极快。 使用技能: - 【thinkjs】 https://thinkjs.org/ 使用 ES6/7 特性开发项目 - 【H-ui 前端框架】 http://www.h-ui.net/ - 【mysql】 注,非原生mysql,经过thinkjs封装。https://thinkjs.org/zh-cn/doc/2.2/model_crud.html 实现参考: - 【liblog】https://github.com/livisky/liblog Liblog是一个简单易用的博客系统,它是基于开源框架thinkJS(使用 ES6/7 特性开发 Node.js 框架)开发的nodejs项目,支持Markdown文章导入,结构简单,较目前一些开源的cms及博客系统,Liblog易于拓展,特别适合前端开发工程师做二次开发。 - 【cmswing】 http://git.oschina.net/arterli/CmsWing 一款基于ThinkJS(Node.js MVC)和MySQL的功能强大的(PC端,手机端和微信公众平台)电子商务平台及CMS建站系统 http://www.cmswing.com - 【thinkjs示例/教程】 https://thinkjs.org/zh-cn/demo.html 代码目录: - src 主要代码目录 - view 视图 - www 一些静态资源 登录与密码: > admin 123456 准备工作: - 导入数据库,根目录的 thinkjs-auth.sql 默认数据库名字为thinkjs-auth - 数据库默认配置如下,可以在 src/common/config/db.js 中进行修改: - database名字 默认为 thinkjs-auth - user/数据库用户名 root - password//数据库密码 root - host: '127.0.0.1', - port: '3306', 运行: 1. npm install --d 2. npm run start