Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the process of creating RESTful web services using Grails 3 in this informative conference talk. Learn about the key features of Grails 3, including the Web API profile, and discover how to efficiently build a RESTful API. Dive into topics such as data modeling, endpoint creation, resource annotations, RESTful controllers, URI customization, HTTP methods, media types, custom response formats, JSON rendering, and API versioning. Gain insights into integrating security measures and understand why Grails is an easy and efficient framework for developing RESTful APIs. Suitable for developers with basic REST knowledge and experience with web application frameworks.
Syllabus
Intro
New in Grails 3
Web API profile
Getting Started
The Task - Gr8Data
Data Model
First Endpoint
POST (successful)
Resource Annotation Recap
RESTful Controllers
URI Customization
Default Mapping
URL Mappings Report
HTTP Methods
Default Media Types
Custom Media Types
Custom Response Formats
grails-app/init/Bootstrap.groovy
Json Renderer
Json Collection Renderer
JSON view
Versioning in Grails
Version By Namespace
Security
Conclusion
Taught by
Devoxx