-
항해 99 - 웹개발 종합반 - WIL - 4항해 99 2022. 1. 5. 01:44
1. 배운 내용
- Flask 프레임워크를 활용해서 API를 만들 수 있다.
- 예제 API를 만들고 클라이언트와 연결한다.
Flask: 서버를 돌아가게 해주는 프레임워크
<Flask 폴더 구조>
app.py: 파이썬에서 통상적으로 서버를 돌아가게 만드는 프로그램 이름
static: css나 이미지 파일을 담아줄 때 사용
templates: html 파일 담아두는 곳
cf) API - 서버가 클라이언트의 요청을 받기 위해 만들어놓은 창구같은 느낌! (은행창구처럼)
2. 수강 후기
지난 주에 이어 Server side, 백엔드 부분을 더욱 다루었다. GET과 POST 방식을 통해 서로 이어주는 연습을 좀 더 해볼 수 있었기에
프론트와 백이 서로 어떻게 상호작용 하는지 간략히나마 알게되었다. 여전히 연습과 개념공부가 필요하지만 직접해보며 배우는 것이 많은 도움이 될거라 생각한다. 다음 주에 홈페이지를 실제로 배포해보는 것이 기다려진다!
'항해 99' 카테고리의 다른 글
항해 99 5기 TIL_1 (0) 2022.01.11 항해 99 - 웹개발 종합반 - WIL - 5 (0) 2022.01.05 항해 99 - 웹개발 종합반 - WIL - 3 (0) 2022.01.04 항해 99 - 웹개발 종합반 - WIL - 2 (0) 2022.01.03 항해 99 - 웹개발 종합반 - WIL - 1 (0) 2022.01.02