Skip to content

MySQLとAPIサーバの接続 #6

@Amakuchisan

Description

@Amakuchisan

概要

APIサーバをMySQLと接続し、データを返却できるようにする
まずはGETを実装すること

APIの仕様

GET /users

content type 'application/json'
usersの情報をスコアの高い順から10返却

返却形式

ArrayをJSONにしたもの

GET /words

content type 'application/json'
randomにDBの単語を返却する。
複数の単語を返却する(10個くらい)。
フロントは、複数の個数の返却に対応しています。

返却形式

ArrayをJSONにしたもの

POST /users

ユーザーの追加

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions