Skip to content

commit111/youcode-2026

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

youcode-2026

Optional SQLite Addon (Backend)

The backend still uses the existing JSON files as the primary store.

An optional SQLite addon can mirror workshop registrations and RSVPs in parallel, so it does not change the current API behavior.

Enable it

Set these environment variables for the backend process:

  • SQLITE_ENABLED=true
  • SQLITE_DB_PATH=../db/workshops-addon.sqlite (optional override)

If SQLITE_ENABLED is not set, the addon is disabled by default.

What it stores

  • workshop_prompt_runs: canonical input_json and output_json matching Python input.json and output.json
  • rsvps: mirrored from /api/workshops/:id/rsvp

workshop_prompt_runs also keeps helper columns (organization/contact/topic/title) for easier filtering, but the JSON documents remain the source of truth.

If SQLite write/mirror fails, requests still succeed using the JSON flow.

About

RootSAP is a platform for non-profit organizations to co-host events and training sessions for volunteers.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors