package dream-inertia

  1. Overview
  2. Docs

dream-inertia

Description

This is a OCaml implementation of the Inertia protocol for the Dream web framework. It allows you to build single-page applications (SPAs) using Inertia.js and OCaml.

Features

  • Support for client-side rendering (CSR)
  • Support for shared data
  • Support for merged props
  • Support for always and optional props
  • Support for CSRF token
  • Support for history encryption

Installation

To install the package, use OPAM:

opam install dream-inertia

Alternatively, you can use nix to install the package.

Documentation

The documentation is available at https://naora.github.io/dream-inertia/dream-inertia/Dream_inertia/index.html.

License

This project is licensed under the MIT License. See the LICENSE file for details.

TODO

  • Support for Inertia.js
  • Support for Dream web framework
  • Support for OCaml
  • Support for server-side rendering (SSR)
  • Support for client-side rendering (CSR)
  • Support for shared data
  • Support for location method
  • Support for merged props
  • Support for always props
  • Support for optional props
  • Support for CSRF token
  • Support for history encryption
  • Support for SSR
  • Support for error validation on backend side
OCaml

Innovation. Community. Security.