Skip to content

pyramidi0n/decanter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Decanter

A micro web framework that gets out of your way.

For general information, check here.

Thorough documentation is available here.

Table of Contents

  1. Installation
  2. Usage
  3. Documentation
  4. Links
  5. Patches
  6. License

Installation

Decanter is available on Ultralisp and is easy to install using Quicklisp.

Add the Ultralisp repository:

(ql-dist:install-dist "http:https://dist.ultralisp.org/")

Install Decanter:

(ql:quickload :decanter)

Usage

A minimal Decanter application:

(require :decanter)
(use-package :decanter)

(app *app*
  ("/" (:get () "Hello, world!")))

Or:

(require :decanter)
(use-package :decanter)

(defurls *urls*
    '("/" hello))

(defapp *app* *urls*)

(defhandler hello
  (:get () "Hello, world!"))

(run *app*)

Stop the application:

(stop *app*)

Documentation

Thorough documentation is available here.

Links

Patches

Patches are welcome.

License

Decanter is licensed under the two-clause BSD license.

See LICENSE.

About

A micro web framework that gets out of your way.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published