십자말풀이 게임을 한 번 토이프로젝트로 진행해보고자 합니다.게임을 진행하려고 할 때마다 새로운 게임판을 생성해주는 형식을 취해보기 위해단어 데이터들을 수집해서 데이터베이스에 넣어두려합니다.국립국어원의 우리말샘의 사전 데이터를 로우 데이터로 삼았습니다.그 중 JSON 형
지난 번에 정제했던 데이터를 데이터베이스에 삽입해보도록 하겠습니다.프론트엔드까지 구현해볼지는 모르겠지만 백엔드 서비스 형태로게임을 제공해보기 위해서 FastAPI 프레임워크를 사용하기로 했습니다.MySQL이 설치가 되어있다는 전제하에 진행해보겠습니다.코드 전역에서 사용
작업 레포지토리 : https://github.com/fnzksxl/word-puzzle지난 번 포스트에서 단어 데이터 추출 후 데이터베이스 삽입까지 했습니다.이번 포스트에서는 단어 데이터들을 데이터베이스에서 선택해 십자말풀이 퍼즐을만들어보도록 하겠습니다.시작