A modern web application integrating Discord authentication with Sui blockchain wallet verification, featuring a Rust backend and a React frontend.
Void eID provides a seamless way to link Discord identities with Sui Wallets. It uses a robust Rust backend for secure authentication and state management, and a modern React frontend for user interaction.
-
Backend (
src/backend): -
Frontend (
src/frontend):- Built with Vite and React 19.
- Integrates Sui dApp Kit for wallet connections.
- Uses TanStack Router for type-safe routing.
- Styled with a custom design system (see Design System).
- Rust (latest stable)
- Node.js & Bun
- Just (optional, strictly recommended for task running if added later)
- Discord Application Credentials (see Discord Setup)
- Navigate to
src/backend. - Copy
.env.exampleto.env(create one if missing) and populate:DATABASE_URL=sqlite:void-eid.db DISCORD_CLIENT_ID=your_id DISCORD_CLIENT_SECRET=your_secret JWT_SECRET=your_jwt_secret PORT=5038
- Run the backend:
The API will be available at
cargo run
http://localhost:5038. API Documentation is available athttp://localhost:5038/docs.
- Navigate to
src/frontend. - Install dependencies:
bun install
- Run the development server:
The app will be available at
bun run dev
http://localhost:5173.
- Backend Documentation - Detailed API and architecture info.
- Frontend Documentation - Component structure and state management.
- Deployment Guide - How to build and deploy.
- Release Process - Automated release workflow.
- Design System - UI styles and tokens.
- Contributing - Development guidelines.
