Skip to content

JustaName-id/backend-assessment-001

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

backend-assessment-001

Objective:

Integrate the JustaName SDK (@justaname.id/sdk @justaname.id/react) into a platform, utilizing a React frontend and a NestJS backend. The claiming logic should be handled from the backend and the frontend should call an API to claim the subnames

Tasks:

  1. Register an ENS Domain on Sepolia Testnet

    • Set up an Ethereum wallet if you haven’t.
    • Use a Sepolia faucet to get test ETH.
    • Register an ENS domain on the Sepolia testnet.
  2. Access the JustaName Admin Dashboard

  3. Create a Claim Page with Two Options

    • Develop a frontend page where users can claim subdomains.

    Features:

    • Claim Normal Subdomain: Allow users to claim standard subdomains.

    • Claim Admin Subdomain: Enable users to claim admin subdomains at the root domain level. Include a textRecord for admin subdomains as follows:

      {
         "key": "admin",
         "value": "[\"subname1.example.eth\"]"
      }
  4. Bonus Task: Create an Admin-Only Page

    • Implement Sign-In with Ethereum (SIWE) login mechanism.
    • Develop a page that is accessible only to users with admin subdomains.

Deliverables:

  1. Source code (Frontend and Backend) hosted on a Git repository.
  2. Documentation outlining how to set up, run, and test your solution.
  3. Demonstration video (optional but encouraged) showcasing the functionality of your application.

Evaluation Criteria:

  • Correct integration of the JustaName SDK.
  • Functionality of the claim options.
  • Implementation of the admin-specific functionalities.
  • Code quality and documentation.
  • Software Design & Practices (SOLID principles, Testing (unit, integration…), design patterns)
  • Bonus points for successfully implementing the admin-only page with SIWE login.
  • Bonus points for successfully dockerizing the backend
  • Bonus point: Demonstrate possible solutions for scaling the application (if applicable)

Resources:

Contact [email protected] or [email protected] for unclear instructions

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published