From 128f72863fa3f736c93175267beb23292e70e096 Mon Sep 17 00:00:00 2001 From: Colin Okay Date: Sun, 13 Feb 2022 19:46:08 -0600 Subject: updated readme --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index fb5983d..da615aa 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,9 @@ Features include: - Different server backends. (At the moment only Hunchentoot is supported) - Modular and "installable" applications. - Handy macros for provisioning apps and defining endpoints. +- In particular, endpoint routes may contain variables and include + parsers for variables and for query parameters +- customizable errors. - Livecoding supported for your endpoint handlers and application configurations. - Automatic documentation generation for `lazybones:app` instances. @@ -14,7 +17,6 @@ Although lazybones can be used to develop and serve page-oriented web sites, it has been written to help me develop "self documenting" HTTP APIs. - ## Main Components The main components in `lazybones` are the two classes: `lazybones:app` @@ -46,7 +48,8 @@ See the example below for more. (in-package :hello-lazybones) (defendpoint* :get "/hello/:name:" () () - (http-ok (format nil "Welcome to Lazybones, ~a" name))) + "Responds with a greeting to NAME" + (format nil "Welcome to Lazybones, ~a" name)) (defvar *my-server* (lzb:create-server)) (lzb:install-app *my-server* (lzb:app)) @@ -77,7 +80,7 @@ Welcome to Lazybones, colin ``` -Check the `example` directory in this repository for another example. +Check the `example` directory in this repository for a more elaborate example. ## Documentation Generation -- cgit v1.2.3