crystal_live_view_example

Proof of concept for a Crystal version of Phoenix Live View

crystal_live_view_example

Proof of concept for a Crystal version of Phoenix Live View

Installation

git clone https://github.com/jgaskins/crystal_live_view_example.git

Usage

crystal src/live_view_example.cr

Then point your browser to http://localhost:8080/

You should see an increasing timestamp and

Development

All of the plumbing is in src/live_view.cr and public/live-view.js.

Contributing

  1. Fork it (https://github.com/jgaskins/crystal_live_view_example/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

Repository

crystal_live_view_example

Owner
Statistic
  • 22
  • 1
  • 0
  • 0
  • 3
  • about 5 years ago
  • April 10, 2019
License

MIT License

Links
Synced at

Thu, 16 May 2024 17:46:26 GMT

Languages