Skip to content

Comments

Implement Account Workflows#57

Merged
sergeychernyshev merged 1 commit intomainfrom
9-implement-account-workflows
Feb 2, 2026
Merged

Implement Account Workflows#57
sergeychernyshev merged 1 commit intomainfrom
9-implement-account-workflows

Conversation

@sergeychernyshev
Copy link
Member

Based on @specs/accounts.md

Goal: Implement Account creation and switching workflows.

Requirements:

  • Creation: Every new user gets a personal Account by default.
  • Switching: API/UI to switch active account context.

Changes:

  • Verified account creation logic in auth flow.
  • Added API endpoints:
    • GET /users/me/accounts: List user's accounts.
    • POST /users/me/accounts/switch: Switch active account.
  • Updated power-strip.js to include account switching UI.
  • Added integration tests covering account listing and switching.

Closing #9
This work assisted by AI.

- Verify personal account creation on user auth.
- Add API endpoints /me/accounts and /me/accounts/switch.
- Add UI for account switching in power-strip.js.
- Add integration tests for account workflows.
@cloudflare-workers-and-pages
Copy link

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
startup-api 8f90f9f Feb 02 2026, 03:59 AM

@sergeychernyshev sergeychernyshev merged commit d0db4d5 into main Feb 2, 2026
2 checks passed
@sergeychernyshev sergeychernyshev deleted the 9-implement-account-workflows branch February 2, 2026 04:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant