fun main() {
val items = listOf("write chapter", "insert code", "draw diagrams")
val toDoList = ToDoList(ListName("book"), items.map(::ToDoItem))
val lists = mapOf(User("uberto") to listOf(toDoList) )
val app: HttpHandler = Zettai(lists)
app.asServer(Jetty(8080)).start() // 서버를 시작
println("Server started at http://localhost:8080/todo/uberto/book")
}
이제 애플리케이션을 시작하고 브라우저에서 결과를 확인할 수 있다.

현재 제타이는 메인 함수에 하드코딩한 목록만 표시할 수 있다. 그다지 유용하지는 않지만 (애플리케이션 개발의) 첫 번째 단계일 뿐이다. 다음 장에서 점차 개선해나갈 것이다.