Skip to content

🔨 POST /accounts #214

@unicornware

Description

@unicornware

Proposed work

High-level description of what needs to be done, and any necessary additional context.

Implement the POST /accounts endpoint to allow new users to create an account via email/password.

Upon successful account creation, users will be issued an access token and a refresh token. These tokens will be required to access protected resources, as well as perform actions requiring authentication.

Todo

What must be done to complete this task.

  • Account
  • AccountCreatedEvent
  • AccountCreatedHandler
  • AccountCreatedPayload
  • AccountDocument
  • AccountsController#create
  • AccountsRepository#findByEmail
  • AuthService#accessToken
  • AuthService#refreshToken
  • CreateAccountCommand
  • CreateAccountHandler

References

Reference material that may be helpful while completing this task.

Metadata

Metadata

Assignees

Labels

Type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions