hyperbole/example
2024-06-09 09:50:45 -07:00
..
doc test, web-view 2024-05-21 11:56:51 -07:00
Example docs, small refactors 2024-05-21 11:02:57 -07:00
BulkUpdate.hs initial commit post-separation 2023-11-27 12:17:08 -06:00
HelloWorld.hs docs, small refactors 2024-05-21 11:02:57 -07:00
Main.hs 0.3.5 release 2024-05-21 13:37:30 -07:00
README.md added local build instructions 2024-06-09 09:50:45 -07:00

Hyperbole Examples

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

  1. Checkout the repository
  2. Follow the Local Development instructions
  3. cabal run examples
  4. visit http://localhost:3000/

Alternatively, create a new project that depends on hyperbole using cabal or stack and copy them in to your source folder

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