RealDevSquad / RealDevSquad/website-backend

External Accounts API

Open
#912 0 comments 0 reactions 1 assignee View on GitHub

@rohan09-raj is already working on this.

Since Jan 25, 2023.

feature task
Dominant language
JavaScript
Stars
74
Forks
276
Avg merge
1d 26m
Merged PRs (30d)
14

Description

Issue

We need an API to store the data of discord users who runs /verify command to verify themselves so that when verification process redirects to any Real Dev Squad website, we need to get the Discord ID of the user to link it successfully through the given link.

What to do?

  • Create a POST endpoint which can verify the connection using JWT between Cloudflare Worker and Backend and can also store the data in the backend in the below format
    https://github.com/Real-Dev-Squad/website-data-models/pull/20
    PR that creates a POST endpoint : #911

  • Refactor POST endpoint from discord to external-accounts #925

  • Create a GET endpoint to get the Discord ID from generated token.

PR that creates a GET endpoint : TO BE CREATED

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.