All Projects → id3as → demo-ps

id3as / demo-ps

Licence: Apache-2.0 license
Skeleton app with contrived client/server examples

Programming Languages

purescript
368 projects
erlang
1774 projects
Nix
1067 projects
Dhall
116 projects
CSS
56736 projects
Dockerfile
14818 projects

A collection of Purerl examples

  • This app is written in Purescript on the frontend, and Purescript on the backend (using Purerl + Stetson + Pinto)
  • This app demonstrates an extremely basic UI using view models from the backend
  • This app demonstrates a basic SPA with client-side navigation/etc using Halogen
  • This app demonstrates a contrived use of a gen server
  • This app demonstrates REST handlers
  • This app demonstrates Streaming handlers
  • This app demonstrates WebSocket communication
  • This app demonstrates the use of a message bus
  • This app demonstrates the use of Monitors
  • This app demonstrates some very basic interop with Erlang on the backend

That is it, it is a grab bag of "how do I do this particular" thing and not a real application in any sense of the word.

See the Purerl Cookbook for more context and more of a guided 'how to'.

Running the example

Note: Docker is needed in the run scripts presently, as it spins up Redis for the CRUD example.

rebar3 release 
./run

Note: Release only needs doing once, after that you can use rebar3 compile because the relevant artifacts will have been created.

Disclaimer

This software, and the opinionated libraries written to support it are very much "works in progress" - we are actively using and building these libraries out for use in own commercial software and can and will be making any changes required to further support that development. As such, they come without support and a disclaimer very much of "be it on your own heads". That said - feel free to reach out and talk to us if you have ideas though, improvements and suggestions are welcome in pull requests and conversation.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].