Skip to content

mikeyjones/howdy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

howdy

Package Version Hex Docs

A simple API on top of the Mist webserver

Installation

If available on Hex this package can be added to your Gleam project:

gleam add howdy

and its documentation can be found at https://hexdocs.pm/howdy.

Manual

Quick Start

import gleam/erlang
import howdy/server
import howdy/router.{Get}
import howdy/response

pub fn main() {
    let _ = server.start(Get("/", fn(_) { response.of_string("Hello, World!") }))
    erlang.sleep_forever()
}

See router documentation for more details here

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages