GithubHelp home page GithubHelp logo

orchid-admin / rust-admin Goto Github PK

View Code? Open in Web Editor NEW
15.0 1.0 4.0 1.08 MB

Develop a system as quickly as possible using rust

Rust 100.00%
admin axum prisma-client-rust rust rbac diesel typescript vue3 element-plus

rust-admin's Introduction

axum-admin

English   中文简体  

axum-admin is a backend management system server implementation developed based on axum + prisma-client-rust.

Instructions

  1. Install rust environment

  2. Generate prisma client and create database tables

    cargo prisma db push
  3. Create super administrator account and initialization menu data

    cargo cli init <USERNAME_PASSWORD>
  4. Run Admin Gateway

    cargo admin

function list

  • Login (Username + Password)
  • Menu management
  • Role management
  • Department management
  • Administrator management
  • Dictionary management
  • Login log management
  • Operation log management
  • User Management
  • Caching system(Memory/Database)

Front-end implementation list

  • orchid-admin-vue3: Based on vue-next-admin secondary development.
    • Technology stack: vue3.x + CompositionAPI setup syntax sugar + typescript + vite + element plus + vue-router-next + pinia.
    • Adaptation: mobile phones, tablets, PCs

rust-admin's People

Contributors

tingfeng-key avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

rust-admin's Issues

初始化发生错误

请输入超级管理员角色标识(默认:admin):
admin
请输入超级管理员用户名(默认:admin):
admin
请输入超级管理员登录密码(默认:admin123456):
admin123456
正在创建角色...
创建角色完成
正在创建登录账户...
thread 'main' panicked at app/cli/src/main.rs:27:32:
called Result::unwrap() on an Err value: QueryError("Error executing query: P2003 - Foreign key constraint failed on the field: foreign key")
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

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.