GithubHelp home page GithubHelp logo

toursslivers / abs_admin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rbatis/abs_admin

0.0 0.0 0.0 793 KB

an enterprise-class one-stop backend Rust solution

License: GNU General Public License v2.0

Rust 93.47% PLpgSQL 6.53%

abs_admin's Introduction

简体中文

demo2

  • Rock solid (Rust language), high performance, no GC, no memory leaks, no coroutine contention

DDD domain driver,Mysql,Redis, general middleware and database, general enterprise-level framework selection

The separation - both before and after the end, based on [Vue - JS] + [Vue - AntDesign] (https://cn.vuejs.org/) (https://www.antdv.com/docs/vue/introduce-cn/) + Vue-AntDesign-Pro

  • RBAC permission control, including JwtToken authentication login, graphic verification code login, TWO-DIMENSIONAL code scan login, and basic permission management

Progress, functional modules (including (including web front-end and RUST backend))

function (including the web front end and rust back-end) support
dynamic menu (routing table permissions dynamically generated menu)
JWT interceptor check
JWT account password
set permissions/management (father and son, permissions + menu button permissions, cache redis)
Settings/role management (father and son, hierarchical level authority tree, cache redis)
Settings/account management background (hierarchical role tree)
Settings/keys to constant management
JWT graphical verification code + password x
JWT text login (based on redis SMS message) x

The significance of this project

  • high performance, as fast as C++, ultra low memory footprint, support for low-cost servers

  • Stable, smooth deployment, no memory leakage, and no flash rollback

  • Out of the box

(Rust server installation) Quick installation tutorial

  1. Use the docker command to quickly start redis and mysql(user name root password 123456). Production Docker can recommend deploying HTTP service. In principle, production environment does not recommend deploying database with Docker
docker run -it -d --name redis -p 6379:6379 redis

docker run -d -p 3306:3306 -e MYSQL_ROOT_PASSWORD=123456 --name mysql -e TZ=Asia/Shanghai mysql:5.7
    1. (Rust server installation) Use the Clion Database window or MysqlWorkBench or Navicat tools to import the database. SQL script into the Mysql Database (Mysql username and password root) 123456) (Redis has no password)

(Front-end Node service installation) Quick installation tutorial

  • 1 (front) read and front-end cloning project at https://github.com/rbatis/abs_admin_vue

    1. (front-end installation) Use 'NPM install' to install dependencies (or taobao image CNPM) and run the 'yarn serve' command to start the web front-end
    1. (Front-end installation) Open the browser http://localhost:8001 to log in to the background

(Postman import) tutorial

    1. (Postman installation) Install postman. Import postman.json to Postman to use the written request
Open postman and import postman.json
    1. (Postman installation) Import the ABS_admin project using the Clion clone, click main.rs and click the button to run. Or execute a command:
cargo update

cargo run

module(module)

  • JWT token Auth(Permission authentication based on JWT token)

  • Role,User,Reource (Role,User, permission)

abs_admin's People

Contributors

eumji025 avatar peanut-cc avatar zhuxiujia 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.