All academies
All challenges

Implement a Repository

Design Patterns

solution.ts
medium+75 XP

Implement `UserRepo` with `save(id, name)` and `find(id)`. Then `UserService` with constructor(repo) and `register(id, name)` / `get(id)`.

Judge

Press Run tests to execute your solution in the sandbox judge.