commit beb31a232a0240ee8240553bc7c916fbe2919fbb Author: emre Date: Wed Aug 5 00:50:52 2026 +0300 init project, djula error on quickload diff --git a/README.org b/README.org new file mode 100644 index 0000000..2645b0c --- /dev/null +++ b/README.org @@ -0,0 +1 @@ +Following the tutorial [[https://web-apps-in-lisp.github.io/][here]] by vindarel. diff --git a/src/package.lisp b/src/package.lisp new file mode 100644 index 0000000..e662a61 --- /dev/null +++ b/src/package.lisp @@ -0,0 +1,2 @@ +(defpackage :web-apps + (:use :cl)) diff --git a/src/web-app.lisp b/src/web-app.lisp new file mode 100644 index 0000000..a4df1c8 --- /dev/null +++ b/src/web-app.lisp @@ -0,0 +1,7 @@ +(in-package :web-apps) + +(defun products (&optional (n 5)) + (loop for i from 0 below n + collect (list i + (format nil "Product nb ~a" i) + 9.99))) diff --git a/web-apps.asd b/web-apps.asd new file mode 100644 index 0000000..e4e2513 --- /dev/null +++ b/web-apps.asd @@ -0,0 +1,9 @@ +;;;; Look into https://web-apps-in-lisp.github.io/ by vindarel + +(defsystem "web-apps" + :license "WTFPL" + :depends-on ("hunchentoot" "easy-routes") + :components + ((:module "src" + :components ((:file "package") + (:file "web-app")))))