Multi-tenant SaaS dashboard for Rust server operations with distributed connection nodes.
🚀 Production deployment & operations → see
DEPLOYMENT.md(server, directories, env vars, deploy scripts, gotchas).
- Node.js 20+
- MySQL 8+
cp .env.example .envFill database, JWT, NODE_TOKEN_SECRET, and frontend URL settings.
mysql -u root -p < backend/sql/init.sql
backend/sql/init.sqlis the only schema script kept in this project.
./start-main.ps1Issue a node token on the main host (the nodeId becomes the node's identity), then set it as NODE_TOKEN in the connector's .env:
node backend/scripts/issue-node-token.js node-1./start-connector.ps1cd frontend
npm install
npm run devDefault URLs:
- Frontend: http://localhost:5173
- Backend: http://localhost:3000/api
- Deployment & operations (production):
DEPLOYMENT.md - Docs index:
docs/README.md - Architecture:
docs/ARCHITECTURE.md - Database:
docs/DATABASE.md - Low-cost distributed deployment:
docs/LOW_COST_DISTRIBUTED.md - Troubleshooting:
docs/TROUBLESHOOTING.md
