Coder Social home page Coder Social logo

wulintang / polaris-account Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ceer-technology/polaris-account

0.0 0.0 0.0 34.39 MB

Polaris Account - Laravel commercial level out of the box SSO account system(北极星 - laravel 商业级开箱即用SSO账户系统)

License: MIT License

JavaScript 78.72% PHP 3.52% CSS 13.78% HTML 0.78% Vue 1.67% Blade 0.05% SCSS 1.48%

polaris-account's Introduction

Polaris-Account

Polaris Account - Laravel commercial level out of the box SSO account system(北极星 - laravel 商业级开箱即用SSO账户系统)

demo:polaris.indieclub.net

演示账户

'name' => 'Admin',(用户名)

'email' => '[email protected]',(邮箱)

'password' => 'PolarisAccount',(密码)

19daed7f848b90841012b9cb409dd485

8eb2314d686b800097fcf56a500ee8cc

6428e59e61c0bc1359637802acab5603

53bef189953268522b57ee30df20b078

be9a176ab61bb8abacd70e9e579f0d19

目前实现的功能

1.完整的账户系统,支持编辑用户资料、更新密码、双重验证、浏览器会话管理、第三方账户绑定与管理、删除账户。

2.前后端分离,前端基于vue3 + Tailwind + inertia ,单次加载少于200ms,性能极速。

3.为 laravel Octane Swoole 构建,安装配置Octane Swoole解锁完整版性能。

4.使用 laravel Passport 实现基于Oauth的SSO系统,多业务系统自由授牌(含类似微信的授牌页)。

5.支持 pwa

6.智能化的国际化支持,根据用户浏览器语言智能切换语言。

7.完整的后台管理,包含用户管理、权限管理、用户组管理、日志管理,以及注册用户、今日注册用户、未激活邮箱用户、日志的统计。

8.后台使用backpack,通过curd获取、编辑和管理数据。

安装步骤

1.解压文件,赋予755权限

2.nginx配置文件里写入include /域名/public/.nginx.conf;

3.设置 /public 为执行目录;编辑 /public /.user.ini ,确保 open_basedir= 为当前实际目录。(如无需防跨站可删除此文件。部分面板有相关防跨站配置,删除此文件避免冲突。)

4.运行 composer install (安装composer包,非官方源有几率安装失败。)

5.运行 npm install (安装node,安装完成后使用 node -v 查看node版本,确保node版本为18.x)

6.运行 npm run build (编译前端)

7.编辑 env 文件,填写正确信息(SESSION_DOMAIN务必正确填写确保数据加密正常,格式参考SESSION_DOMAIN=polaris.indieclub.net)

8.运行 php artisan key:generate 生成key

9.运行 php artisan config:cache && php artisan view:clear && php artisan cache:clear && php artisan route:cache (清除所有缓存)

10.运行 php artisan migrate:fresh --seed (导入数据库)

配置passport(SSO)

1.运行 php artisan passport:install --uuids

2.运行 php artisan passport:keys

3.创建 passport 业务端key:运行 php artisan passport:client

ab0e7d3651c3af2368f37a60fb2ea240

关于默认创建超级管理员账户信息

'name' => 'Admin',(用户名)

'email' => '[email protected]',(邮箱)

'password' => 'PolarisAccount',(密码)

'role' => 'superAdmin',(权限组)

polaris-account's People

Contributors

ceerker avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.