Skip to content

refactor(backend): consolidate api response utilities and improve rou…#175

Open
El-swaggerito wants to merge 1 commit intoCommitlabs-Org:masterfrom
El-swaggerito:Define-backend-architecture-and-API-folder-structure-for-Next.js-app-router
Open

refactor(backend): consolidate api response utilities and improve rou…#175
El-swaggerito wants to merge 1 commit intoCommitlabs-Org:masterfrom
El-swaggerito:Define-backend-architecture-and-API-folder-structure-for-Next.js-app-router

Conversation

@El-swaggerito
Copy link

@El-swaggerito El-swaggerito commented Feb 26, 2026

Closes #104


…te handlers

  • Rename apiResponse.ts to response.ts and update all imports
  • Add comprehensive backend architecture documentation
  • Refactor /api/commitments and /api/attestations route handlers to use consistent patterns
  • Simplify validation logic and improve error handling
  • Update README to reference new architecture documentation
  • Add Zod dependency for future validation improvements

…te handlers

- Rename `apiResponse.ts` to `response.ts` and update all imports
- Add comprehensive backend architecture documentation
- Refactor `/api/commitments` and `/api/attestations` route handlers to use consistent patterns
- Simplify validation logic and improve error handling
- Update README to reference new architecture documentation
- Add Zod dependency for future validation improvements
@vercel
Copy link

vercel bot commented Feb 26, 2026

@El-swaggerito is attempting to deploy a commit to the 1nonly's projects Team on Vercel.

A member of the Team first needs to authorize it.

@1nonlypiece
Copy link
Contributor

@El-swaggerito Can you resolve the conflicts?

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.

Define backend architecture and API folder structure for Next.js app router

2 participants