Skip to content

Create API to Store User Information #39

@Ugo-X

Description

@Ugo-X

Description:
Develop an API endpoint to store user information, including:

  • Avatar generation
  • Username
  • Address
  • World ID badge information

Requirements:

  • Implement a Next.js API route to handle user data submission.
  • Use a database (e.g., PostgreSQL, MongoDB, or Prisma ORM) to persist user data.
  • Ensure proper validation and error handling for input data.
  • Implement avatar generation logic (e.g., using a library or placeholder service).
  • Secure sensitive user data appropriately.

Acceptance Criteria:

  • Users should be able to submit their information successfully.
  • Data should be stored securely in the database.
  • Proper API response codes should be returned.

ETA 48 hours

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions