개발일지
close
프로필 사진

개발일지

github: @ghrnwjd

  • 분류 전체보기 (59)
    • 🍃 스프링 (15)
    • 🧩 자바 (8)
    • 📦 개발 (19)
      • JavaScript (12)
      • AI (3)
      • opencv (4)
      • 논문 (0)
    • 🌱 프로젝트 (8)
      • 소방알리미 (6)
      • 크롤링 (2)
    • 📚 컴퓨터사이언스 (3)
      • Network (2)
      • Web (1)
    • 🔧 etc (5)
  • Github
  • INFO
Firestation Spring - 소방서 알림 #5

Firestation Spring - 소방서 알림 #5

[ 프로젝트 ] 사람이 인지하지 못한 화재에 대응하는 서비스입니다. 원리:화재 감지 센서와 AI 기술을 이용하여, 화재 발생시 자동으로 주변 소방서에 알림을 전송합니다. 빠른 대응으로 더 큰 화재 피해 방지 사람이 인지하지 못한 화재 대응 가능 빈 집 화재 대응 가능 [ Spring ] [ Controller ] 1. MemberController @Slf4j @Controller public class MemberController { @Autowired private FirestationService firestationService; @GetMapping({"", "/"}) public String index () { return "index.html"; } @GetMapping("/user/reg..

  • format_list_bulleted 🌱 프로젝트/소방알리미
  • · 2022. 9. 17.
로그인 오류 2 - 소방서 알림 #4

로그인 오류 2 - 소방서 알림 #4

권한이 제데로 설정되지 않은건가라는 물음에서 세션이 제데로 설정되어있는지 확인하였다. 오류 해결 @Override protected void configure(HttpSecurity http) throws Exception { http .httpBasic().disable() .csrf().disable() .cors().configurationSource(corsConfigurationSource()) .and() // .sessionManagement().sessionCreationPolicy(SessionCreationPolicy.STATELESS) .authorizeRequests() .antMatchers("/", "/auth/**", "/css/**", "/js/**").permitAll() ..

  • format_list_bulleted 🌱 프로젝트/소방알리미
  • · 2022. 9. 14.
로그인 오류 1 - 소방서 알림 #3

로그인 오류 1 - 소방서 알림 #3

화면을 통해 소방서 정보를 등록하면 DB 속에는 잘 들어가는 것을 확인할 수 있다. 오류 vue 서버에서는 성공이라고 뜨지만 Spring Security에 걸려 이런 화면으로 넘어간다 [Vue.js] methods: { submitForm3: function() { const url = 'http://localhost:7777/auth/loginProc' const data = { firestationname: this.firestationname, firestationPw: this.firestationPw } axios.post(url, data) .then(function(response) { console.log(response) alert('성공') // window.location.href =..

  • format_list_bulleted 🌱 프로젝트/소방알리미
  • · 2022. 9. 12.

시큐리티 설정 - 소방서 알림 #2

build.gradle dependencies { implementation 'org.springframework.boot:spring-boot-starter-security' } 스프링 시큐리티 Configuration Class를 작성하기 위해 WebSecurityConfigurerAdaper 를 상송하여 configure 을 override 한다. @Configuration @RequiredArgsConstructor @EnableWebSecurity @EnableGlobalMethodSecurity(prePostEnabled = true) public class SecurityConfig extends WebSecurityConfigurerAdapter { } @EnableWebSecurity W..

  • format_list_bulleted 🌱 프로젝트/소방알리미
  • · 2022. 9. 8.

미니 프로젝트 - 소방서알림 #1

#틀릴 수 있음 build.gradle dependencies { implementation 'org.projectlombok:lombok' } Dependencies에 lombok을 추가했다. Lombok을 사용하면 Getter, Setter을 구현하기 편리하다는 장점이 있지만 내부 수정이 필요한 경우 불편할 수 있다. Lombok @NoArgsConstructor Class의 기본 생성자 자동 추가 @AllArgsConstructor Class의 모든 필드 값을 받는 생성자 추가, Bean을 주입받는 방식으로도 쓰인다. @Data @Getter, @Setter, @RequiredArgsConstructor, @ToString, @EqualsAndHashCode 추가 @Builder 모델 객체 생성시 ..

  • format_list_bulleted 🌱 프로젝트/소방알리미
  • · 2022. 9. 6.
  • navigate_before
  • 1
  • ···
  • 7
  • 8
  • 9
  • 10
  • navigate_next
공지사항
전체 카테고리
  • 분류 전체보기 (59)
    • 🍃 스프링 (15)
    • 🧩 자바 (8)
    • 📦 개발 (19)
      • JavaScript (12)
      • AI (3)
      • opencv (4)
      • 논문 (0)
    • 🌱 프로젝트 (8)
      • 소방알리미 (6)
      • 크롤링 (2)
    • 📚 컴퓨터사이언스 (3)
      • Network (2)
      • Web (1)
    • 🔧 etc (5)
인기 글
전체 방문자
오늘
어제
Copyright © 홓옇 모든 권리 보유.
SKIN: Copyright © 쭈미로운 생활 All rights reserved. Designed by JJuum.
and Current skin "dev-roo" is modified by Jin.

티스토리툴바