Coder Social home page Coder Social logo

apiserver's Introduction

基于 Go 语言构建企业级的 RESTful API 服务

业务功能

  • API 服务器状态检查
  • 登录用户
  • 新增用户
  • 删除用户
  • 更新用户
  • 获取指定用户的详细信息
  • 获取用户列表

功能实现

准备阶段

  • 如何安装和配置 Go 开发环境
  • 如何安装和配置 Vim IDE

设计阶段

  • API 构建技术选型
  • API 基本原理
  • API 规范设计

开发阶段

  • 如何读取配置文件
  • 如何管理和记录日志
  • 如何做数据库的 CURD 操作
  • 如何自定义错误 Code
  • 如何读取和返回 HTTP 请求
  • 如何进行业务逻辑开发
  • 如何对请求插入自己的处理逻辑
  • 如何进行 API 身份验证
  • 如何进行 HTTPS 加密
  • 如何用 Makefile 管理 API 源码
  • 如何给 API 命令添加版本功能
  • 如何管理 API 命令
  • 如何生成 Swagger 在线文档

测试阶段

  • 如何进行单元测试
  • 如何进行性能测试(函数性能)
  • 如何做性能分析
  • API 性能测试和调优

部署阶段

  • 如何用 Nginx 部署 API 服务
  • 如何做 API 高可用

apiserver's People

Contributors

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