Yu-Gi-Oh! Deck Building and Card Inventory Management web interface written in Common Lisp, utilizing HTMX.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

преди 4 месеца
12345678910111213141516171819202122232425262728293031323334
  1. ;;;;
  2. ;;;; src/web/web-test.lisp
  3. ;;;;
  4. ;;;; This is a test for Lack.Middleware.Mount
  5. ;;;;
  6. ;;;; Eventually I want all the web routes to be their own package,
  7. ;;;; maybe integrated better with the models.
  8. ;;;;
  9. (in-package #:cl-user)
  10. ;; TODO I could probably start moving all this stuff into packages.lisp
  11. (defpackage #:cl-deck-builder2.web.web-test
  12. (:use :cl
  13. :caveman2)
  14. (:local-nicknames
  15. (#:v #:org.shirakumo.verbose))
  16. (:import-from :cl-deck-builder2.view
  17. :render)
  18. (:export :*web-test*))
  19. (in-package #:cl-deck-builder2.web.web-test)
  20. ;;
  21. ;; Application
  22. ;;
  23. (defclass <web> (<app>) ())
  24. (defvar *web-test* (make-instance '<web>))
  25. (clear-routing-rules *web-test*)
  26. (defroute "/" ()
  27. (format nil "Test!~%"))