From 79272ef4a0cf6e3f93333f239dd36159202fbbba Mon Sep 17 00:00:00 2001 From: Colin Okay Date: Mon, 26 Dec 2022 15:22:04 -0800 Subject: Add: a basic json endpoint to return hall-of-fame data --- init.lisp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 init.lisp (limited to 'init.lisp') diff --git a/init.lisp b/init.lisp new file mode 100644 index 0000000..5603623 --- /dev/null +++ b/init.lisp @@ -0,0 +1,11 @@ +;;;; init.lisp + +(in-package #:dungeons-and-deadlines) + +(defun init-db (&optional config) + (if config + nil + (make-instance + 'db:mp-store + :directory (merge-pathnames "dnd-store/" (user-homedir-pathname)) + :subsystems (list (make-instance 'db:store-object-subsystem))))) -- cgit v1.2.3