Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

hex.pm : charlotte

Charlotte is a Web Framework. It takes a little from Rails and a little from Sinatra and does a few things it's own way. The goal is to be light weight, fun and get out of your way. defmodule Controller do use Charlotte.Handlers.HTTP def routes do [ {"/path", :path}, {"/path/:part", :path_with_part} ] end def path("GET", _params, conn) do render [message: "hello from path"], conn end def path(verb, _params, conn) do respond 405, {"Allowed", "GET"}, "#{verb} not allowed", conn end end

Registry - Source - Homepage - Documentation - JSON
purl: pkg:hex/charlotte
License: Other
Latest release: over 9 years ago
First release: almost 10 years ago
Downloads: 10,609 total
Stars: 8 on GitHub
Forks: 1 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 7 days ago

    Loading...
    Readme
    Loading...