Giter VIP home page Giter VIP logo

api-backend's Introduction

项目背景

API接口调用平台,帮助企业、个人统一开放接口,减少沟通成本,避免重复造轮子,为业务高效赋能。

  • 普通用户:注册登录,开通接口调用权限,使用接口。

  • 后台:调用统计和可视化分析接口调用情况,管理员发布接口、下线接口、新增接口。

主要功能:

  • API接入
  • 防止攻击(安全性)
  • 不能随便调用(限制、开通)
  • 统计调用次数
  • 计费
  • 流量保护

架构图:

img

技术选型:

后端:

  • Spring Boot
  • Spring Boot Starter(SDK开发)
  • Dubbo (RPC)
  • Nacos(注册中心)
  • Spring Cloud Gateway(网关、限流、日志实现)

启动方式:

后端:

  • api-backend:7529端口,后端接口管理(上传、下线、用户登录)http://localhost:7529/api/doc.html
  • api-gateway:8090端口,网关
  • api-interface:8123端口,提供各种接口服务(可以有很多个且分布在各个服务器)。这里的tests有个发送请求的跑通流程的测试用例。
  • api-client-sdgk:客户端SDK,无端口,发送请求到8090端口,由网关进行转发到后端的api-interface

详细设计文档:

  • 见doc目录下

api-backend's People

Contributors

bitofworld 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.