@@ -0,0 +1,347 @@
+package repositories;%0A%0Aimport java.util.List;%0Aimport java.util.Optional;%0A%0Aimport models.User;%0A%0Aimport org.springframework.data.repository.Repository;%0A%0Apublic interface UserRepository extends Repository%3CUser, String%3E %7B%0A%0A    void delete(User deleted);%0A%0A    List%3CUser%3E findAll();%0A%0A    Optional%3CUser%3E findOne(String id);%0A%0A    User save(User saved);%0A%7D%0A

Implement User Mongo repository interface