Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Goaを使ってAPIサーバ開発してみた / Develop API server by Goa

yyh_gl
May 15, 2020

Goaを使ってAPIサーバ開発してみた / Develop API server by Goa

DMM.go #2 登壇資料

サンプルコード
https://github.com/yyh-gl/goa-tutorial

yyh_gl

May 15, 2020
Tweet

More Decks by yyh_gl

Other Decks in Programming

Transcript

  1. >> ީิ w0QFO"1*ʢPQFOBQJZNM㲈υΩϡϝϯτʣ w HPTXBHHFS w PQFOBQJZNMʢTXBHHFSZNMʣ͔Β(PͷίʔυΛੜ੒ w TXBH w

    (Pίʔυ಺ͷίϝϯτ͔ΒPQFOBQJZNMΛੜ੒ w (PB w %4-͔ΒPQFOBQJZNMͱ(PͷίʔυΛੜ੒ w1SPUPDPM#V⒎FST w H31$ H31$6* w *%-͔ΒυΩϡϝϯτͱ(PͷίʔυΛੜ੒ 13
  2. >> ީิ w0QFO"1*ʢPQFOBQJZNM㲈υΩϡϝϯτʣ w HPTXBHHFS w PQFOBQJZNMʢTXBHHFSZNMʣ͔Β(PͷίʔυΛੜ੒ w TXBH w

    (Pίʔυ಺ͷίϝϯτ͔ΒPQFOBQJZNMΛੜ੒ w (PB w %4-͔ΒPQFOBQJZNMͱ(PͷίʔυΛੜ੒ w1SPUPDPM#V⒎FST w H31$ H31$6* w *%-͔ΒυΩϡϝϯτͱ(PͷίʔυΛੜ੒ 14 ZBNMΛॻ͘ͷ͸ͭΒ͍
  3. >> ީิ w0QFO"1*ʢPQFOBQJZNM㲈υΩϡϝϯτʣ w HPTXBHHFS w PQFOBQJZNMʢTXBHHFSZNMʣ͔Β(PͷίʔυΛੜ੒ w TXBH w

    (Pίʔυ಺ͷίϝϯτ͔ΒPQFOBQJZNMΛੜ੒ w (PB w %4-͔ΒPQFOBQJZNMͱ(PͷίʔυΛੜ੒ w1SPUPDPM#V⒎FST w H31$ H31$6* w *%-͔ΒυΩϡϝϯτͱ(PͷίʔυΛੜ੒ 15 ɾ୯ମͰ͸υΩϡϝϯτ͔Βͷ
 ίʔυੜ੒͕Ͱ͖ͳ͍ ɾίϝϯτ͕๲େʹͳΔ
  4. >> ީิ w0QFO"1*ʢPQFOBQJZNM㲈υΩϡϝϯτʣ w HPTXBHHFS w PQFOBQJZNMʢTXBHHFSZNMʣ͔Β(PͷίʔυΛੜ੒ w TXBH w

    (Pίʔυ಺ͷίϝϯτ͔ΒPQFOBQJZNMΛੜ੒ w (PB w %4-͔ΒPQFOBQJZNMͱ(PͷίʔυΛੜ੒ w1SPUPDPM#V⒎FST w H31$ H31$6* w *%-͔ΒυΩϡϝϯτͱ(PͷίʔυΛੜ੒ 16 ɾQSPUPͷ಺༰ΛυΩϡϝϯτԽͰ͖Δʂ ɾQSPUP͔ΒίʔυΛੜ੒Ͱ͖Δʂ ɾ࠷ߴʂͰ΋31$ɻɻɻ
  5. >> ީิ w0QFO"1*ʢPQFOBQJZNM㲈υΩϡϝϯτʣ w HPTXBHHFS w PQFOBQJZNMʢTXBHHFSZNMʣ͔Β(PͷίʔυΛੜ੒ w TXBH w

    (Pίʔυ಺ͷίϝϯτ͔ΒPQFOBQJZNMΛੜ੒ w (PB w %4-͔ΒPQFOBQJZNMͱ(PͷίʔυΛੜ੒ w1SPUPDPM#V⒎FST w H31$ H31$6* w *%-͔ΒυΩϡϝϯτͱ(PͷίʔυΛੜ੒ 17 ɾ%4-͔ΒυΩϡϝϯτΛੜ੒Ͱ͖Δʂ ɾ%4-͔ΒίʔυΛੜ੒Ͱ͖Δʂ ɾ%4-ࣗମ(PͳͷͰֶशίετ͸গͳΊ ͍͍Ͷʂ 5-