Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
API Meetup #17でのLT
Search
Keigo Hattori
December 09, 2016
Technology
0
600
API Meetup #17でのLT
Keigo Hattori
December 09, 2016
Tweet
Share
More Decks by Keigo Hattori
See All by Keigo Hattori
“Cost-efficient and scalable ML-experiments in AWS with spot-instances, Kubernetes and Horovod” の紹介と感想
keigohtr
2
2.6k
Rekcurd update and demo
keigohtr
0
590
What we need for MLOps
keigohtr
0
3.2k
Introduction of Machine Learning Production Pitch#1
keigohtr
0
3.5k
自動でツイッター要約をする執事ボット作った (API Meetup #28)
keigohtr
0
19k
API Meetup Tokyo #24 スマートスピーカーとAPI連携 LINE Clova
keigohtr
0
7.9k
API Meetup #22 LT大会(Apitore)
keigohtr
0
1.3k
AI x WebAPI もくもく会 Vol.1 イントロダクション
keigohtr
0
330
OneJapan企画提案ピッチ-大企業ハッカソン-
keigohtr
0
1.1k
Other Decks in Technology
See All in Technology
機械学習を扱うプラットフォーム開発と運用事例
lycorptech_jp
PRO
0
610
MagicPod導入から半年、オープンロジQAチームで実際にやったこと
tjoko
0
110
AIのグローバルトレンド2025 #scrummikawa / global ai trend
kyonmm
PRO
1
310
5年目から始める Vue3 サイト改善 #frontendo
tacck
PRO
3
230
今日から始めるAWSセキュリティ対策 3ステップでわかる実践ガイド
yoshidatakeshi1994
0
110
新規プロダクトでプロトタイプから正式リリースまでNext.jsで開発したリアル
kawanoriku0
1
190
「どこから読む?」コードとカルチャーに最速で馴染むための実践ガイド
zozotech
PRO
0
550
Snowflake×dbtを用いたテレシーのデータ基盤のこれまでとこれから
sagara
0
120
2025/09/16 仕様駆動開発とAI-DLCが導くAI駆動開発の新フェーズ
masahiro_okamura
0
120
IoT x エッジAI - リアルタイ ムAI活用のPoCを今すぐ始め る方法 -
niizawat
0
110
JTCにおける内製×スクラム開発への挑戦〜内製化率95%達成の舞台裏/JTC's challenge of in-house development with Scrum
aeonpeople
0
250
スマートファクトリーの第一歩 〜AWSマネージドサービスで 実現する予知保全と生成AI活用まで
ganota
2
310
Featured
See All Featured
jQuery: Nuts, Bolts and Bling
dougneiner
64
7.9k
Side Projects
sachag
455
43k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
23
1.4k
Testing 201, or: Great Expectations
jmmastey
45
7.7k
Six Lessons from altMBA
skipperchong
28
4k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
15k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Statistics for Hackers
jakevdp
799
220k
A designer walks into a library…
pauljervisheath
207
24k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.1k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
61k
The World Runs on Bad Software
bkeepers
PRO
70
11k
Transcript
Spring(Java)で作る WebAPIのすすめ API Meetupに参加したらマイクロサー ビスかつOauthでSwaggerなWebAPIの マーケットプレイスが出来た話 Apitore 服部圭悟 1
Keigo Hattori (@keigohtr) 東北大学卒、情報工学修士。大手 複合機メーカーで機械学習の研究 職として勤務。自然言語処理およ び画像処理が専門。 連絡先:
[email protected]
https://apitore.com/
自己紹介 2
Apitore(あぴたー) -Web APIのマーケットプレイス- 3
企業には「使っていない」「製品にも なっていない」「公開もされていない」 ICT研究技術が多くある (自分も含め・・・) 4
世界中のICTを集約し、整理し、誰もが簡 単に使える世の中にしたい (じゃなきゃやってらんねーよ・・・) 5
シェアリングエコノミー? シェアリングテクノロジー!!! 6
7 準優勝しました!(2015/11)
8 API界隈の勉強をはじめたのは 一年前くらいから (意外となんとかなる)
Apitore -Web APIのマーケットプレイス- 9
MySQL Eureka Apitore UI Solr API Server (Oauth 2.0) API
API API … Nginx Nginx PayPal インフラはGoogle Cloud Platformを利用 バックエンドはSpringを利用 完全SSL通信(Let’s Encrypt証明書) DBアクセスはHybernate 構成 Facebook SendGrid Client SendGrid PayPal Client Facebook Client 10
MySQL Eureka Apitore UI Solr API Server (Oauth 2.0) API
API API … Nginx Nginx PayPal インフラはGoogle Cloud Platformを利用 バックエンドはSpringを利用 完全SSL通信(Let’s Encrypt証明書) DBアクセスはHybernate 構成 Facebook SendGrid Client SendGrid PayPal Client Facebook Client 11
12 というわけで・・・
13 Apitoreを支える イカれたメンバーを紹介するぜ! (Spring最高!!!)
14 ベースは任せた!縁の下の力持ち! Spring-boot
Spring-boot 15 @RestController public class HelloController { @RequestMapping(value=“/hello", method=RequestMethod.GET) public
String hello() { return "Hello"; } } たったこれだけでAPIが作れちゃう!
16 ギターはお前だ!フロントを支える! Spring-security
Spring-security 17 @Configuration @EnableWebSecurity public class SecurityConfiguration extends WebSecurityConfigurerAdapter {
//中略 } 暗号化はbasicからbcryptまで幅広く抑え る!Oauth2.0の認可もおまかせ!
18 ビートを刻め!全体を見渡す! Spring-cloud
Spring-cloud 19 @Configuration @ComponentScan @EnableFeignClients @EnableDiscoveryClient @EnableCircuitBreaker @EnableZuulProxy public class
ApitoreClientMain { //中略 } マイクロサービス化が簡単に!
20 ビラ制作担当 SpringFox (この子はSpringじゃありません)
SpringFox 21 @Configuration @EnableSwagger2 public class SwaggerConfiguration { // 中略
} SpringのアノテーションからAPIの仕様書 を作れちゃう優れもの! (OpenAPI Specification準拠)
22 本日のライブハウスは・・・ API Meetup
補足1 • Spring-webmvc: 画面遷移コントローラ • Spring-jdbc: データアクセス • Spring-security: 認証や権限回り
• Spring-security-oauth: Oauth回り • Spring-cloud: マイクロサービス回り • Spring-social: SNS連携 23
補足2(お役立ちリンク) • http://www.slideshare.net/makingx • http://enterprisegeeks.hatenablog.com/entry/20 15/11/02/000000 • http://www.slideshare.net/shintanimoto/spring- boot-netflix-eureka •
http://callistaenterprise.se/blogg/teknik/2015/0 5/20/blog-series-building-microservices/ • http://mix- juice001.hatenablog.com/entry/2015/09/23/230 233 (後日Apitoreブログでスライド公開します) 24
25 ご清聴ありがとうございました! 詳細は「Apitore」で検索 or @keigohtr を フォローしてね! 草ベンチャー仲間も募集中です♪