The system you are building requires user data to be tamper proof. The client (frontend application) does not want to trust the backend at all. Assume the whole backend system can be compromised.
1. How does the client ensure that their data has not been tampered with?
2. If the data has been tampered with, how can the client recover the lost data?
Edit this repo to answer these two questions using any technologies you'd like, there any many possible solutions. Feel free to add comments.
npm run start
in both the frontend and backend
- Clone the repo
- Make a PR with your changes in your repo
- Email your github repository to [email protected]