View application-dev.yml
jwt:
key: asgdffrt43wedsfgtry4352ewfrgt
twitter:
api-key:
api-secret:
callback: http://localhost:8080/login/twitter
github:
api-key:
View application-dev.yml
jwt:
key: uabwenifwerfbwqyeg8fq3uwnhsrefnweio
twitter:
api-key:
api-secret:
callback: http://localhost:8080/login/twitter
github:
api-key:
View Zasilanie bazy przy starcie aplikacji
@Configuration
@ComponentScan
@EnableAutoConfiguration
public class Application {
@Autowired
private UserRepository repository;
public static void main(String[] args) {
SpringApplication.run(Application.class, args);