Move the vault off account settings onto /nerve with product-page chrome, extract the LiveView template, and keep /account/nerve as a redirect. |
||
|---|---|---|
| .. | ||
| lib | ||
| test | ||
| .gitignore | ||
| mix.exs | ||
| README.md | ||
Elektrine Nerve
Standalone umbrella app for Nerve domain logic.
What lives here
Elektrine.NervecontextElektrine.Nerve.NerveEntryschema- Domain tests for create/list/retrieve/delete flows
- Nerve LiveView, external API controller, and route macros under
ElektrineNerveWeb.*
Current Integration
- Uses
Elektrine.Repofor persistence. - Requires explicit nerve setup with a browser-encrypted verifier payload.
- Stores browser-encrypted ciphertext envelopes and never decrypts secrets server-side.
elektrine_webimports route macros from this app instead of owning the nerve UI/API modules directly.- The deploy scripts use the module id
nerve.
If This Splits Out Later
- Replace
Elektrine.Reporeferences with a configurable repo behaviour. - Move migration ownership into this app/repo package.
- Replace direct
Elektrine.Accounts.Usercoupling with a generic owner schema key. - Publish as a library with install and migration docs.
License
AGPL-3.0-only (see ../../LICENSE).