© Prem Kumar Karunakaran 2020
P. K. KarunakaranIntroducing Play Frameworkhttps://doi.org/10.1007/978-1-4842-5645-9_8

8. Complete Example

Prem Kumar Karunakaran1 
(1)
Thiruvananthapuram, Kerala, India
 
This chapter consolidates what you have learned so far into a complete example. The primary focus of this chapter is to present the code; we have already discussed all the concepts and portions of the code in prior chapters.
conf/application.conf
# This is the main configuration file for the application.
# https://www.playframework.com/documentation/latest/ConfigFile
# Default database configuration
play.modules.enabled  += "modules.FirstModule"
play.http.filters=config.FilterConfig
play.http.errorHandler = "config.CustomErrorHandler"
db {
  default.driver = ...

Get Introducing Play Framework: Java Web Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.