We welcome contributions to Void eID!
- Rust: Follow standard Rust idioms. Run
cargo fmtandcargo clippybefore pushing. - TypeScript: Use ESLint. Run
bun run lintin the frontend directory. - Commits: Use conventional commits (e.g.,
feat: added wallet support,fix: token validation).
- Fork the repository.
- Create a branch for your feature (
git checkout -b feature/amazing-feature). - Implement your changes.
- Test locally.
- Submit a Pull Request.
If you modify the database schema:
- Install
sqlx-cli:cargo install sqlx-cli - Add a migration:
sqlx migrate add <description> - Edit the generated
.sqlfiles. - Run migrations:
sqlx migrate run - Update
sqlx-data.jsonif using offline mode:cargo sqlx prepare
- Keep the backend stateless where possible (rely on JWT/DB).
- Frontend components should be reusable and adhere strictly to the "Design System".
- Avoid adding heavy dependencies unless necessary.
If you get stuck, check the /docs folder or open an issue.