BiTronicHHH / XQuery_Backend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

xquery-dashboard-backend

This is a simple express-app server for verifying the signature sent from the xquery front-end.

Getting started

Clone the repo:

git clone https://github.com/blocknetdx/xquery-dashboard-backend.git

Navigate to the project directory:

cd xquery-dashboard-backend

Install the dependencies:

yarn

Start the development server:

yarn start

When front-end tries to create new project, a sign message comes and it makes a signature.

image

After click sign, front sends the signature to backend to verify.
The endpoint includes signature and wallet address as a query param.
When this back-end receives the request, it verifies to signature and wallet are compared to correct one.
Returns success when valid, otherwise fail.
If success, front-end goes to the next step - create project.

image

About


Languages

Language:JavaScript 90.1%Language:HTML 9.9%