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
61
Rails API
Basic introduction to Rails based APIs.
Mark Morris
October 06, 2015
Tweet
Share
Other Decks in Programming
See All in Programming
subpath importsで始めるモック生活
10tera
0
310
Why Jakarta EE Matters to Spring - and Vice Versa
ivargrimstad
0
1.1k
役立つログに取り組もう
irof
28
9.6k
『ドメイン駆動設計をはじめよう』のモデリングアプローチ
masuda220
PRO
8
540
Outline View in SwiftUI
1024jp
1
330
Creating a Free Video Ad Network on the Edge
mizoguchicoji
0
120
Jakarta EE meets AI
ivargrimstad
0
650
Jakarta EE meets AI
ivargrimstad
0
580
Arm移行タイムアタック
qnighy
0
330
Nurturing OpenJDK distribution: Eclipse Temurin Success History and plan
ivargrimstad
0
940
ふかぼれ!CSSセレクターモジュール / Fukabore! CSS Selectors Module
petamoriken
0
150
Macとオーディオ再生 2024/11/02
yusukeito
0
370
Featured
See All Featured
Making Projects Easy
brettharned
115
5.9k
Fashionably flexible responsive web design (full day workshop)
malarkey
405
65k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
665
120k
Code Review Best Practice
trishagee
64
17k
Navigating Team Friction
lara
183
14k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
28
2k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.4k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
48k
Adopting Sorbet at Scale
ufuk
73
9.1k
Producing Creativity
orderedlist
PRO
341
39k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
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