Repository navigation
Hello world example
webdevwilson edited this page Oct 22, 2010
·
8 revisions
crack open your favorite brew
put this in a file 'myfile.groovy'
import graffiti.* @Grab('com.goodercode:graffiti:1.0-SNAPSHOT') @Get('/helloworld') def hello() { 'Hello World' } Graffiti.serve this Graffiti.start()
run groovy myfile.groovy
have a sip