-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Description
The backend should have service methods distinct from handler to make testing a little easier
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels