Skip to content

Remove Next.js API route proxies #106

@0xdevcollins

Description

@0xdevcollins

Depends on: Issues #101, #102, #103, #104
The app/api/bounties/ directory contains Next.js API routes that proxy REST calls. Once all hooks call GraphQL directly, these proxy routes are dead code.

Tasks

  • Delete app/api/bounties/ and all subdirectories
  • Delete app/api/applications/, app/api/submissions/ if also migrated
  • Remove unused REST helpers from lib/api/client.ts and lib/api/bounties.ts
  • Remove axios from package.json if no longer used elsewhere
  • Run npm run build to verify no broken imports

Acceptance Criteria

  • No REST proxy routes remain for bounties
  • Bundle size is reduced
  • Build passes cleanly

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions