# kratos **Repository Path**: ncr/kratos ## Basic Information - **Project Name**: kratos - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-02-05 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # kratos ## 说明 项目受[ory/kratos](https://github.com/ory/kratos)启发,要构建一个云原生身份和用户管理系统,目前好的解决方案有[keycloak](https://www.keycloak.org/),由于java开发,且功能复杂,并不适合轻应用。[ory/kratos](https://github.com/ory/kratos)为golang开发,但是目前并没有提供可用版本。鉴于[gluu](https://www.gluu.org/)的影响,使用[Reactjs](https://reactjs.org/)用于应用鉴权系统,其庞大的组件库很好的解决了鉴权系统的重复开发问题。同时鉴于系统的稳定性和可扩展性,使用[Eggjs](https://eggjs.org/) 作为应用的web框架,使用[Umijs](https://umijs.org/)开发用于登录,注册,管理部分的交互页面。 ## QuickStart ### Development ```bash $ 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 ```bash $ 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+ ## 特别鸣谢 [Eggjs](https://eggjs.org/) 企业级Node.js框架 [Umijs](https://umijs.org/) 可插拔的企业级 react 应用框架 [Reactjs](https://reactjs.org/) 一个用于构建用户界面的JavaScript库 [Passort](http://www.passportjs.org/) Node.js的身份验证中间件