Skip to content
This repository has been archived by the owner on Aug 21, 2023. It is now read-only.

Flask API: Register new user route #231

Open
ExoMonk opened this issue Aug 8, 2022 · 1 comment
Open

Flask API: Register new user route #231

ExoMonk opened this issue Aug 8, 2022 · 1 comment
Labels
Context: coupled interact with some parts of the codebase Difficulty: easy anybody can understand it Duration: under a day wil take up to one day State: open ready for contribution Techno: python python Type: feature a new feature to implement

Comments

@ExoMonk
Copy link
Collaborator

ExoMonk commented Aug 8, 2022

  • From feat/backend branch, create your own

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

Make sure to check signature validity ( signature is a 2value-Array)

e.g: “[’1231341123’, ‘1313413434’]”

/registerUser
:param wallet_address
:param signature

return:
{
  'result': userData
}

Pull Request on feat/backend

@ExoMonk ExoMonk added Type: feature a new feature to implement Duration: under a day wil take up to one day State: open ready for contribution Difficulty: easy anybody can understand it Context: coupled interact with some parts of the codebase Techno: python python labels Aug 8, 2022
@ashutoshkrris
Copy link

Hi @ExoMonk
I'd like to work on this issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Context: coupled interact with some parts of the codebase Difficulty: easy anybody can understand it Duration: under a day wil take up to one day State: open ready for contribution Techno: python python Type: feature a new feature to implement
Projects
None yet
Development

No branches or pull requests

2 participants