2
5
Fork
You've already forked crap
0
A simple CRUD app in common lisp.
  • Common Lisp 100%
2025年01月02日 11:16:05 +01:00
static re-add boostrap 2024年08月23日 09:41:25 +02:00
app.lisp fixme static path 2024年06月17日 10:17:51 +02:00
crap.asd change email 2024年11月10日 10:59:13 +01:00
db.lisp age optional 2024年06月11日 18:41:42 +02:00
html.lisp query param redirets for edit/del agents too 2024年08月25日 10:19:44 +02:00
json.lisp json: hack a no-agent error response 2024年08月25日 17:17:27 +02:00
package.lisp add package exports 2025年01月02日 11:16:05 +01:00
pages.lisp remove useless format call 2024年09月20日 13:14:59 +02:00
README.org readme list features 2024年08月26日 09:16:44 +02:00

crap - a crappy crud app

Using:

  • spinneret (html gen in CL)
  • ningle/clack/lack (micro web framework, routes)
  • cl-sbt (bootstrap frontend bling)
  • mito (ORM)
  • SQLite (db)

features

  • agent object: name, age, location, number of works
  • work object: name, year (published), agent
  • listing of agents, works
  • new/update/delete agents, works
  • sort work listings (via db query) by name, agent, year
  • sort agent listings (via db query) by name, age, location, number of works
  • detailed agent view: update/delete agent, and works listing with update/delete/new work
  • toy JSON API: GET api/agents/:id/

    • return agent details plus details of all their works.

TODOS

  • refactor to a cleaner backend/frontend design
  • expand to a DB (> MITO) > CLOS model or similar
  • implement a mini JSON REST API also (for learning)
  • fork and turn into a simple PDF library
  • auth
  • htmx

source

This is just me trying to learn some mito/orm, using this: https://dev.to/rajasegar/mito-an-orm-for-common-lisp-1n8n.

License

GPLv3.