Building a web application with Spring Boot and Angular (#6396)
* Initial Commit * Update pom.xml
This commit is contained in:
committed by
KevinGilmore
parent
9cee994496
commit
ad4ff82fa2
@@ -0,0 +1,10 @@
|
||||
package com.baeldung.application.repositories;
|
||||
|
||||
import com.baeldung.application.entities.User;
|
||||
import org.springframework.data.repository.CrudRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
import org.springframework.web.bind.annotation.CrossOrigin;
|
||||
|
||||
@Repository
|
||||
@CrossOrigin(origins = "http://localhost:4200")
|
||||
public interface UserRepository extends CrudRepository<User, Long>{}
|
||||
Reference in New Issue
Block a user