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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Keigo Hattori
December 09, 2016
Technology
630
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
API Meetup #17でのLT
Keigo Hattori
December 09, 2016
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.8k
Rekcurd update and demo
keigohtr
0
610
What we need for MLOps
keigohtr
0
3.3k
Introduction of Machine Learning Production Pitch#1
keigohtr
0
3.7k
自動でツイッター要約をする執事ボット作った (API Meetup #28)
keigohtr
0
19k
API Meetup Tokyo #24 スマートスピーカーとAPI連携 LINE Clova
keigohtr
0
8k
API Meetup #22 LT大会(Apitore)
keigohtr
0
1.4k
AI x WebAPI もくもく会 Vol.1 イントロダクション
keigohtr
0
340
OneJapan企画提案ピッチ-大企業ハッカソン-
keigohtr
0
1.1k
Other Decks in Technology
See All in Technology
まちスペース®とデジタルツインと「まちづくり」
hiro_ogi
0
130
【GCC2026】大規模言語モデルを活用した内製検索サービスの社内展開や業務活用
bandainamcostudios
PRO
0
210
35分でわかるEffective Platform Engineering
nwiizo
3
250
Genie Codeハンズオン応用編
taka_aki
0
120
QAエンジニア起点で進める、SmartHRにおける信頼性向上について
kaomi_wombat
1
150
ボトムアップ文化が強い組織で セキュリティをどう根付かせていくかの現在進行形の話 / Making Security Stick in a Bottom-Up Organization
yamaguchitk333
0
240
What's new in Go 1.27?
ciarana
0
230
修正PRを食べてレビュースキルが賢くなる:Claude Codeによる自己改善サイクル
yuyaumetsu
6
1.6k
20260807_第6回_関東kaggler会LT_claw系bot xangiと始める、"寂しくない" kaggle
sugupoko
0
330
My broken English still works: speaking at global OSS events
naruoga
0
110
私がブラウザを自作したくなった理由
supurazako
1
260
[ChatGPT Work LT]事務作業が苦手な人のための バックオフィスの「半」自動化
chimaki_iot
0
310
Featured
See All Featured
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.8k
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.9k
The Cult of Friendly URLs
andyhume
79
7k
What does AI have to do with Human Rights?
axbom
PRO
1
2.3k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
240
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.3k
The untapped power of vector embeddings
frankvandijk
2
1.8k
Typedesign – Prime Four
hannesfritz
42
3.1k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
390
Believing is Seeing
oripsolob
1
190
RailsConf 2023
tenderlove
30
1.5k
KATA
mclloyd
PRO
35
15k
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 を フォローしてね! 草ベンチャー仲間も募集中です♪