Library Search
结果页

入门篇 - Task API 服务

在 技术栈 中找到 8 个匹配结果。

返回文档库
技术栈

技术栈

8 个
查看全部
Laravel ## Laravel 入门教程:从零构建一个 Task API ### 1. 背景 Laravel 是目前 PHP 生态最流行的框架。本教程带你从零搭建一个 RESTful Task API,学会路由、控制器、模型、迁移和 Eloquent ORM 的核心用法。 ### 2. 前置概念 | 概念 | 说明 | |------|------| | **路由 (Route)** | 将 URL… 3% MediaPipe # MediaPipe 入门教程:Task API 全家桶 ## 1. MediaPipe 的架构哲学 MediaPipe 核心理念:**ML 推理是一个 Pipeline 图**。 ``` 摄像头 → [人脸检测] → [关键点] → [表情分类] → UI 渲染 ↘ [背景虚化] ↗ ``` 每个节点叫 **Calculator**,图结构叫 **Gra… 3% Python def save(self, tasks: List[Task]) -> None: """保存所有任务到文件""" data = [task.to_dict() for task in tasks] self.filepath.write_text( json.dumps(data, ensure_ascii=False,… 3% Slim ## Slim 4 入门教程:Task API 服务 ### 1. 背景 Slim 是构建轻量 API 的最佳 PHP 框架。本教程将构建完整的 Task CRUD API,掌握路由分组、中间件模式和 PSR-7 消息处理。 ### 2. 前置概念 | 概念 | 说明 | |------|------| | **PSR-7 Request/Response** | HTTP 消息抽象 |… 3% Fiber # Fiber 快速入门 — 用户管理 API ## 目标 使用 Fiber 的 Express 风格 API 快速搭建用户 CRUD,演示路由、中间件、参数解析。 ## 完整代码 ```go package main import ( "log" "strconv" "time" "github.com/gofiber/fiber/v3" ) type User struct… 3% Nuxt # Nuxt 全栈代办事项 + API ## 目标 展示 Nuxt 全栈能力:前端代办 UI + `server/api/` 后端接口 + `useFetch` 调用。 ## 完整代码 ### `server/api/todos.ts` ```typescript // Nuxt Nitro API — 内存存储示例 let todos: { id: number; text: strin… 2% FastAPI location / { proxy_pass http://fastapi; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_fo… 2% Amazon DynamoDB class TaskRepository: @staticmethod def create(user_id, title, due_date=None): task = { 'PK': f'USER#{user_id}', 'SK': f'TASK#{uuid.uuid4().hex[:8]}',… 2%