Skip to content

Backend Refactoring #142

Closed
Closed

Description

@nourshoreibah

Description

The backend should have service layers distinct from handler to make testing and readaility a little better. Also a standardized auth.ts file

For an example, see the structure used in #150

Acceptance criteria

  • FIRST see what lambdas have PRs up. Do not refactor if a PR is up. If you can easily merge the PR (maybe it just needs one more review, get it through)
  • Refactor the backend so that there is a service layer. Add a file called _service.ts and a file called auth.ts
  • Auth should have functions to manage auth, service should contain service methods that actually do the operations
  • Layer these services together in the handler
  • Make separate test files for auth and service file. move tests to these files

Activity

  1. changed the title [-]Backend Refactoing[/-] [+]Backend Refactoring[/+] on Feb 23, 2026
  2. self-assigned this
    on Mar 16, 2026
  3. removed their assignment
    on Mar 26, 2026
  4. removed their assignment
    on Apr 11, 2026
  5. self-assigned this
    on May 6, 2026
  6. nourshoreibah commented on May 12, 2026

    @nourshoreibah
    CollaboratorAuthor

    First PR done, will do more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions