Trot v0.3.0

Modules summary

Trot
Trot.Router

Module for creating routes based on the URL path. Routes are specified using one of the HTTP method macros: get/2 post/2 put/2 patch/2 delete/2 options/2. The first argument is a the path to route to, and the second argument is the block of code to execute. See examples below

Trot.Template

Server side rendering of HTML using EEx templates. When the application is compiled all of templates under a given path are loaded and compiled for faster rendering. A render/2 function is generated for every template under the module attribute @template_root