You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// directories
- GET `/directories`
ディレクトリ一括取得
- POST `/directories`
新規ディレクトリ作成
// branches
- GET `/directories/{directoryID:[1-9][0-9]*}/branches`
Branch一覧取得
- POST `/directories/{directoryID:[1-9][0-9]*}/branches`
ブランチ作成
- GET `/directories/{directoryID:[1-9][0-9]*}/branches/{branchID:[1-9][0-9]*}`
IDをキーとしてブランチを検索
- PUT `/directories/{directoryID:[1-9][0-9]*}/branches/{branchID:[1-9][0-9]*}`
ブランチアップデート
// commits
- POST `/directories/{directoryID:[1-9][0-9]*}/branches/{branchID:[1-9][0-9]*}/commits`
コミット作成
概要
Before
認証、バックエンド、データベース、デプロイは全てFirebaseに委任
After
認証のみFirebaseに任せてバックエンドはGo api + mysqlに置き換え、AWSにデプロイしたい。
![elaborate_architecture](https://user-images.githubusercontent.com/39128496/65928637-b2782d80-e439-11e9-9674-2079c4e2b73b.jpeg)
リクエストの認証にはjwtを利用。
(VueをReactに置き換えてください)
詳細
現状、Goのapiサーバをローカルに立て、ローカルのフロントエンドサーバから適当なリクエストを飛ばしてレスポンスを受け取るところまではできている。
現状のエンドポイント一覧
残りTODO
参考
構成はこちらの記事と殆ど同じなので一度読んでおくと理解が進むかと思います。
その他
The text was updated successfully, but these errors were encountered: