Code Monkey home page Code Monkey logo

apioak-admin's Introduction

Apioak-Admin go-1.16 gin-1.7.2

简体中文 | English

Introduction

apioak-admin is the control plane backend project of apioak gateway, based on Go 1.16 and Gin 1.7.2 development, the project matches the data surface project apioak. The project aims to simplify the use of apioak, optimize the user's operation, and achieve a minimal operation to complete the launch and release of a complete service configuration.

Quick start

For the convenience of use, the front-end and back-end projects are merged and packaged as out-of-the-box executable files, which only need to be downloaded in Releases Compress the package and decompress it, then configure the config/app.yaml configuration file in the corresponding directory and execute the executable file to complete the deployment of the project. Just access the contents of the server configuration item in the config/app.yaml configuration file.

Self-compiled

go build -o apioak-admin main.go

Rely

For the system dependencies necessary to install apioak-admin on different operating systems (MySQL >= 5.7 or MariaDB >= 10.2, etc.), please refer to: Dependency Installation Documentation.

Configuration

  • Import the database configuration file to MySQL or MariaDB, the data table configuration file path /{path}/config/apioak.sql.

  • Create a config directory in the directory where the apioak-admin executable file generated after compiling the command is located, and copy the configuration file app_example.yaml under the apioak-admin project to this directory, and change the name to app.yaml, and then configure in that configuration file.

    • database: database connection information.
    • token: User login to issue token configuration information.
    • server: Information about accessing the service after starting the service.
    • apioak: Data plane configuration synchronization connection information.
    • logger: Record log configuration information.
    • validator: The language of parameter verification information. zh:Chinese (default) / en:English

Run

./apioak-admin

apioak-admin's People

Contributors

blust avatar shuaijinchao avatar zanehy avatar zhanghongyan-tal avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

apioak-admin's Issues

数据依赖优化&部分功能细节升级

依赖性优化

  • 摘除操作接口数据依赖校验
    服务-插件路由-插件之间的操作校验类关联关系弱化,仅保证每一种资源类型下独立资源的独立校验,比如:同一类型资源下名称唯一
  • 优化内部前后关联关联处理逻辑
    服务-插件路由-插件服务-路由路由-上游上游-节点 之间的同步数据前后管理那关系进行升级优化。

升级其他功能细节

  • 放开默认路由[/*]的操作限制
  • upstream允许空值操作

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.