reason-native-web / Morph

Licence: mit
A webframework for Reason and OCaml

Programming Languages

ocaml
1615 projects
reason
219 projects

Projects that are alternatives of or similar to Morph

Create robot
ROS driver for iRobot Create 1 and 2.
Stars: ✭ 137 (-1.44%)
Mutual labels:  hacktoberfest
Rf24
OSI Layer 2 driver for nRF24L01 on Arduino & Raspberry Pi/Linux Devices
Stars: ✭ 1,813 (+1204.32%)
Mutual labels:  hacktoberfest
Users
Development repository for the users cookbook
Stars: ✭ 138 (-0.72%)
Mutual labels:  hacktoberfest
Homebrew
Development repository for the homebrew cookbook
Stars: ✭ 137 (-1.44%)
Mutual labels:  hacktoberfest
Escpos Php
PHP library for printing to ESC/POS-compatible thermal and impact printers
Stars: ✭ 1,851 (+1231.65%)
Mutual labels:  hacktoberfest
Anonydog
On the internet, nobody knows you're a dog
Stars: ✭ 138 (-0.72%)
Mutual labels:  hacktoberfest
Android
Delta Icon Pack for Android
Stars: ✭ 137 (-1.44%)
Mutual labels:  hacktoberfest
99 Ml Learning Projects
A list of 99 machine learning projects for anyone interested to learn from coding and building projects
Stars: ✭ 139 (+0%)
Mutual labels:  hacktoberfest
Specflow
#1 .NET BDD Framework. SpecFlow automates your testing & works with your existing code. Find Bugs before they happen. Behavior Driven Development helps developers, testers, and business representatives to get a better understanding of their collaboration
Stars: ✭ 1,827 (+1214.39%)
Mutual labels:  hacktoberfest
Urlextract
URLExtract is python class for collecting (extracting) URLs from given text based on locating TLD.
Stars: ✭ 138 (-0.72%)
Mutual labels:  hacktoberfest
Simple Dialer
A handy phone call manager with phonebook, number blocking and multi-SIM support
Stars: ✭ 138 (-0.72%)
Mutual labels:  hacktoberfest
Superview
A small program that takes a 4:3 aspect ratio video file, and transforms it to a 16:9 video using the GoPro SuperView method
Stars: ✭ 137 (-1.44%)
Mutual labels:  hacktoberfest
Odoo Brasil
Versão 14 - Odoo Brasil
Stars: ✭ 137 (-1.44%)
Mutual labels:  hacktoberfest
Bandcamp Scraper
A scraper for https://bandcamp.com
Stars: ✭ 137 (-1.44%)
Mutual labels:  hacktoberfest
Haproxy
Development repository for the haproxy cookbook
Stars: ✭ 138 (-0.72%)
Mutual labels:  hacktoberfest
Strimzi Kafka Bridge
Apache Kafka bridge
Stars: ✭ 137 (-1.44%)
Mutual labels:  hacktoberfest
Styleguide
The VTEX Design System and React component library.
Stars: ✭ 138 (-0.72%)
Mutual labels:  hacktoberfest
Packages
📦 Package configurations - The #1 free and open source CDN built to make life easier for developers.
Stars: ✭ 139 (+0%)
Mutual labels:  hacktoberfest
Hiya Hiya Hiya
Whatsapp Clone base on Firebase Cloud Messaging
Stars: ✭ 139 (+0%)
Mutual labels:  hacktoberfest
Letsencrypt Zimbra
Files to automate the deploy of letsencrypt certificates to Zimbra
Stars: ✭ 138 (-0.72%)
Mutual labels:  hacktoberfest

morph

Build Status

A tiny framework for developing HTTP stuff in reason native using Httpaf and H2.

Documentation

https://reason-native-web.github.io/

The documentation is not as fleshed out as it should be, the repos is under heavy development.

Build and run examples

esy install
esy build
esy examples
$(esy examples-path)/hello_world.exe
$(esy examples-path)/with_router.exe
$(esy examples-path)/simple_proxy.exe

Example

Server:

let http_server = Morph_server_http.make();
Morph.start(~servers=[http_server], _request => Http.Response.Ok.make)
|> Lwt_main.run;

Slightly larger example using ocaml-routes: https://github.com/reason-native-web/morph/blob/master/examples/with_router.re

Sponsors

Thank you to @imbsky for sponsoring my work on Morph

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].