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
Rails API
Search
Mark Morris
October 06, 2015
Programming
2
64
Rails API
Basic introduction to Rails based APIs.
Mark Morris
October 06, 2015
Tweet
Share
Other Decks in Programming
See All in Programming
Spring gRPC で始める gRPC 入門 / Introduction to gRPC with Spring gRPC
mackey0225
2
520
今ならAmazon ECSのサービス間通信をどう選ぶか / Selection of ECS Interservice Communication 2025
tkikuc
11
2.8k
Cursor AI Agentと伴走する アプリケーションの高速リプレイス
daisuketakeda
1
120
つよそうにふるまい、つよい成果を出すのなら、つよいのかもしれない
irof
1
300
KotlinConf 2025 現地で感じたServer-Side Kotlin
n_takehata
1
220
型付きアクターモデルがもたらす分散シミュレーションの未来
piyo7
0
800
deno-redisの紹介とJSRパッケージの運用について (toranoana.deno #21)
uki00a
0
130
Bytecode Manipulation 으로 생산성 높이기
bigstark
2
360
地方に住むエンジニアの残酷な現実とキャリア論
ichimichi
2
620
ASP.NETアプリケーションのモダナイズ インフラ編
tomokusaba
1
390
明示と暗黙 ー PHPとGoの インターフェイスの違いを知る
shimabox
1
120
GoのWebAssembly活用パターン紹介
syumai
3
10k
Featured
See All Featured
Art, The Web, and Tiny UX
lynnandtonic
299
21k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
16
940
The Power of CSS Pseudo Elements
geoffreycrofte
77
5.8k
Typedesign – Prime Four
hannesfritz
42
2.7k
Testing 201, or: Great Expectations
jmmastey
42
7.5k
Building an army of robots
kneath
306
45k
Thoughts on Productivity
jonyablonski
69
4.7k
Practical Orchestrator
shlominoach
188
11k
Into the Great Unknown - MozCon
thekraken
39
1.9k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
181
53k
How GitHub (no longer) Works
holman
314
140k
The Invisible Side of Design
smashingmag
299
51k
Transcript
Rails APIs NoCo Web Scale, Oct 6th. @blurredbits
Topics • Introduction • Setup • Versioning • Authentication •
Testing NoCo Web Scale, Oct 6th. @blurredbits
API Application Programming Interface NoCo Web Scale, Oct 6th. @blurredbits
NoCo Web Scale, Oct 6th. @blurredbits
Model View Controller NoCo Web Scale, Oct 6th. @blurredbits
View render JSON instead of HTML NoCo Web Scale, Oct
6th. @blurredbits
JSON JavaScript Object Notation NoCo Web Scale, Oct 6th. @blurredbits
NoCo Web Scale, Oct 6th. @blurredbits
Serializer ActiveModel::Serializer JBuilder NoCo Web Scale, Oct 6th. @blurredbits
Logging config/initializers/filter_parameter_logging.rb NoCo Web Scale, Oct 6th. @blurredbits
Namespacing NoCo Web Scale, Oct 6th. @blurredbits
Inflections config/initializers/inflections.rb NoCo Web Scale, Oct 6th. @blurredbits
Routing config/routes.rb NoCo Web Scale, Oct 6th. @blurredbits
Routing config/routes.rb NoCo Web Scale, Oct 6th. @blurredbits
Authentication app/models/user.rb NoCo Web Scale, Oct 6th. @blurredbits
Authentication app/controllers/API/V1/application_controller.rb NoCo Web Scale, Oct 6th. @blurredbits
Error - No Token app/controllers/API/V1/application_controller.rb NoCo Web Scale, Oct 6th.
@blurredbits
Wrong Password app/controllers/API/V1/application_controller.rb NoCo Web Scale, Oct 6th. @blurredbits
Validation Error app/controllers/API/V1/people_controller.rb NoCo Web Scale, Oct 6th. @blurredbits
RSpec spec/requests/api/people_specs.rb NoCo Web Scale, Oct 6th. @blurredbits
CURL curl http://localhost:3000/api/people/1 NoCo Web Scale, Oct 6th. @blurredbits
Conclusion Error Codes Documentation Rails 5 NoCo Web Scale, Oct
6th. @blurredbits
Resources https://github.com/rails-api/active_model_serializers https://github.com/rails-api/rails-api http://www.raywenderlich.com/85528/user-accounts-ios-ruby- rails-swift NoCo Web Scale, Oct 6th.
@blurredbits