Making the detail page
The detail page which displays one girlfriend and a list of note is left as a exercise. If you want the reference code the entire application and all it's source code is over here.
Beautifying with css
This is a quick one..Take a look at the res/ folder , add any file in there and it will available for download directly
for example, I can include this css in the head tag like this
<head> <link rel="stylesheet" href="/css/page.css" type="text/css"/> </head>
Running the code in Production mode
Remember the "fan tales run" command? All along we have been running the code in dev mode. Dev mode supports things like auto reloading which is great for development. However for running the code in production you might want to run the server in production mode.
To run code in production mode use the "exec" command instead of "run". Open command prompt. Cd to the application directory and type
fan tales exec
That's it. Your code is running production mode now.