onlydustxyz / starklings

An interactive tutorial to get you up and running with Starknet
309 stars 83 forks source link

Flask API: Update User Information route #232

Open ExoMonk opened 2 years ago

ExoMonk commented 2 years ago

Create/update an endpoint under the starklings-backend/starklings-backend/route.py file to update user information given a wallet address, and a signature and inserting it to the MySQL Database (starklings_user) :

/updateUser
:param wallet_address
:param signature

return:
{
  'result': newUserData
}

Pull Request on feat/backend