xonecas.io
4436
Sl

sesame-labs-coding-assignment / commit 1ca6f42

Add coding assignment instructions

implorr2022-09-29 1ca6f4277f572540a913cc4016b0cb0499a12c0b parent 386cbea

1 file changed

README.md+26−1
@@ -1 +1,26 @@
1-# sesame-coding-assignment
1+# Sesame Coding Assignment
2+
3+### Build a Discord Questing Platform
4+
5+Welcome to Sesame’s coding challenge, in which you will build a Questing Platform ([https://bit.ly/sesame-coding](https://bit.ly/sesame-coding)) that rewards people with coupon codes for joining a Discord server.
6+
7+**Product Requirements**
8+
9+- The user should be able to sign in on the webpage with their MetaMask wallet
10+- Once they have connected their wallet, they will see a Quest which asks them to join a certain Discord server to win a coupon code. There will be a Join Discord button (that triggers the Discord joining flow) and a Verify button (that verifies if the user has successfully joined the specified Discord server).
11+- Once the user successfully verifies that they have joined the Discord they should see a coupon code. For the purposes of this project, the coupon code can be a random 10 digit alphanumeric string.
12+- The user’s state (whether they have verified, which coupon code they have received, etc) should be stored in a DB so that it persists if the user signs in with their wallet again or even on server restart. Multiple different users should be able to use this product at the same time.
13+- The Quest details (title, description, cover image uri, discord server name, etc) and any API keys (discord, etc) should be easily settable in a .config OR .env file
14+- The UI is not the primary focus of this assignment however it needs to be good enough and fully functional. Here is roughly how it should look like: [https://bit.ly/sesame-coding](https://bit.ly/sesame-coding)
15+
16+**References**
17+
18+- Quest3 ([https://app.quest3.xyz/quest/686923348822728769](https://app.quest3.xyz/quest/686923348822728769)) can be used for reference for how the Join Discord flow and the verification should work. Feel free to use that as reference when designing your solution.
19+
20+**Directions**
21+
22+- Take about 8 hours to work on this assignment. Please complete this exercise yourself, however feel free to Google and use other references.
23+- Please fork this repository to start working on this project. Add a detailed README that provides easily understandable instructions on how to run your code on local machine.
24+- This will be followed by a 45 min interview where you will be asked to explain your decisions and asked to describe about challenges and opportunities with your solution
25+- In addition to correctness, we will be evaluating based on code structure, readability, and extensibility. It does not need to be over-engineered, however should be solid production level code.
26+- Please reach out if you have any questions.