package com.pollistics.repositories;

import org.springframework.data.mongodb.repository.MongoRepository;
import com.pollistics.models.User;

public interface UserRepository extends MongoRepository<User,String> {
	User findByUsername(String username);
}

@@ -99,16 +99,67 @@
 sitory;%0A
+import org.springframework.stereotype.Repository;%0A%0A
 import c
@@ -186,16 +186,28 @@
 .User;%0A%0A
+@Repository%0A
 public i

Add annotation