LeapChain / Website

MIT License
2 stars 4 forks source link

Implement user authentication #32

Open hussu010 opened 2 years ago

hussu010 commented 2 years ago

API Guide:

Base endpoint: https://7hy843.deta.dev/

Send a post request to /api/v1/users/create with accountNumber in body to retreive user nonce.

Sign the nonce using keysign and send POST request to /api/v1/auth endpoint.

Store the returned JWT token (on browser storage which we'll use later)