Monorepo for experimental SMS gateway with FastAPI backend and React UI.
- Python 3.11 + FastAPI
- Run:
uvicorn backend.main:app
- Vite + React + TypeScript
- From
uidirectory run:npm run dev
A static project website is available in the website/ directory. Open website/index.html in a browser for an overview and usage instructions.
Install pre-commit hooks:
pre-commit installRun lint checks:
pre-commit run --files <files>
npm run lint --prefix uiNightly backups of the SQLite database are written to backups/ with a timestamped filename.
To restore from a backup:
-
Stop the application.
-
Replace
muxo.dbwith the desired backup file:cp backups/muxo-<timestamp>.db muxo.db
-
Start the application again.
Old messages older than 90 days and audit records older than 365 days are purged during the nightly job.