Safsaf is a Guile web framework, written using Claude Code running Claude Opus 4.6, based off of the Guix Data Service, Nar Herder and Guix Build Coordinator codebases.
This commit is contained in:
commit
5b0e6397dc
53 changed files with 7427 additions and 0 deletions
23
examples/blog-site/README
Normal file
23
examples/blog-site/README
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
Blog Site Example
|
||||
=================
|
||||
|
||||
A small blog application demonstrating Safsaf's routing, handler
|
||||
wrappers, sessions, CSRF protection, and content negotiation. Uses
|
||||
SQLite for storage.
|
||||
|
||||
Running
|
||||
-------
|
||||
|
||||
From the repository root:
|
||||
|
||||
./pre-inst-env guile -L examples/blog-site examples/blog-site/blog-site.scm
|
||||
|
||||
Or from the example directory:
|
||||
|
||||
cd examples/blog-site
|
||||
../../pre-inst-env guile -L . blog-site.scm
|
||||
|
||||
The server listens on http://localhost:8082.
|
||||
|
||||
The session secret and database path are hard-coded for demonstration
|
||||
purposes — do not use these values in production.
|
||||
Loading…
Add table
Add a link
Reference in a new issue