- CRUD for users (SQLite, persistent)
- SHA-384 hashing of email + Ed25519 signature (server-side)
- Public key endpoint for client-side verification
- Protobuf export of all users
- Node.js (Express, CORS)
- SQLite via better-sqlite3
- Crypto: Node crypto (SHA-384) + tweetnacl (Ed25519)
- Protobuf: protobufjs
. Node.js 18+(preferably 20+) . npm
. Copy the project url and open your terminal and run git clone paste the copied url, . cd backend . npm install . npm run dev
GET /keys/public { "publicKeyBase64": "" }
- GET /users # for listing all users (JSON) 2 GET /users/:id # for getting one user (JSON)
- POST /users/create # fro creating (body: { email, role?, status? })
- PUT /users/:id # for updating (body: { email?, role?, status? })
- DELETE /users/:id # for deleting