hyperbole/example
2024-10-01 11:57:52 -06:00
..
doc test, web-view 2024-05-21 11:56:51 -07:00
Example Merge branch 'main' into forms-records 2024-10-01 11:57:52 -06:00
BulkUpdate.hs Apply formatting to entire codebase and enable pre-commit check 2024-07-19 18:19:06 +02:00
cabal.project better dev workflow by porting code into examples 2024-06-14 08:11:44 -07:00
client better dev workflow by porting code into examples 2024-06-14 08:11:44 -07:00
HelloWorld.hs Typed Handlers 2024-07-24 10:20:00 -07:00
hyperbole-examples.cabal Typed Handlers 2024-07-24 10:20:00 -07:00
Main.hs Typed Handlers 2024-07-24 10:20:00 -07:00
package.yaml -threaded example 2024-07-22 09:23:39 -07:00
README.md better dev workflow by porting code into examples 2024-06-14 08:11:44 -07:00

Hyperbole Examples

This directory contains an example application with multiple pages demonstrating different features. To try them out:

cd example
cabal run

Then visit http://localhost:3000/

Main

Routing, WAI application, running the program

Simple

Multiple HyperViews, Actions

Counter

Basics, State with a TVar

CSS Transitions

Animate transitions using only CSS

Forms

Elegant interface for Forms including field-specific validation

Sessions

store data on the client with a session

Redirects

Redirecting to other pages. See Main as well

Lazy Loading and Polling

Run an action after a delay for lazy loading or polling. See Main as well

Errors

Render server errors

Contacts (Advanced)

Custom data effects, multiple views, targeting other views, loading indicators