The main repository is a single page app that's mostly Typescript compiled via Svelte down to a JavaScript bundle.
Most of that repository is a series of modules in their own directories (e.g., "src/modules/character").
The second repository is a Node.js API. The majority of its functionality comes from one of the modules from the first repository that I copy in its entirety to the other repository whenever I change it.