Quick start

Merly is a micro framework for declaring routes and handling requests. Quickly creating web applications in Julia with minimal effort.

triangle-exclamation

Installation

First downloadarrow-up-right and install Julia. 1.5 or higher. To do the installation use any of the following commands:

using Pkg
Pkg.add("Merly")
(@v1.5) pkg> add Merly

Hello, World!

This is the simplest application you can do with Merly:

server.jl
using Merly

@page "/" HTTP.Response(200,"Hello World!")

start(host = "127.0.0.1", port = 8086, verbose = true)
julia server.jl

Browse to http://127.0.0.1:8086 and you should see Hello World! on the page.

Last updated