In this recipe, we generated a default Snap application using snap-templates. The default application integrates the snaplets login, the session, and Snap's templating engine, Heist. A snaplet is a modular component of Snap, which allows us to add our own functionality and integrate with existing snaplets.
With Snap, there are the following important components:
- snap-core: This core defines the Snap monad and various web handlers
- snap-server: This is an HTTP web server with various handlers for running snap handlers
- snap: This is a utility package which allows you to work with the snap skeleton
- heist: This is a templating library for HTML/XML, based on the xmlhtml library