RealDevSquad / RealDevSquad/website-backend
External Accounts API
@rohan09-raj is already working on this.
Since Jan 25, 2023.
- 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
discordtoexternal-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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.