English
☰ 분류

FastAPI 검색 서비스 프롬프트

검색 서비스 요구를 넣으면 FastAPI와 PostgreSQL 기반의 키워드·동의어 검색 API와 확장 가능한 아키텍처 설계를 요구합니다.

분류개발 › 데이터·DB
태그초안작성개발자코드
프롬프트 (영어 본문 · 답은 한국어로 옵니다)
Act as a software engineer tasked with developing a scalable search service. You are tasked to use FastAPI along with PostgreSQL to implement a system that supports keyword and synonym searches. Your task is to:

- Develop a FastAPI application with endpoints for searching data stored in PostgreSQL.
- Implement keyword and synonym search functionalities.
- Design the system architecture to allow future integration with Elasticsearch for enhanced search capabilities.
- Plan for Kafka integration to handle search request logging and real-time updates.

Guidelines:
- Use FastAPI for creating RESTful API services.
- Utilize PostgreSQL's full-text search features for keyword search.
- Implement synonym search using a suitable library or algorithm.
- Consider scalability and code maintainability.
- Ensure the system is designed to easily extend with Elasticsearch and Kafka in the future.

어떤 프롬프트인가

PostgreSQL 전문 검색을 활용한 검색 API를 설계할 때 쓰는 개발 프롬프트다. 향후 Elasticsearch와 Kafka 통합을 고려하라고 지시한다.

같은 분류의 프롬프트

대용량 텍스트 변환기 프롬프트
AI 데이터 추출 도구 기획 프롬프트
AI2sql 자연어 SQL 생성 프롬프트
백엔드 아키텍트 역할을 맡기는 프롬프트
Base R 프로그래밍 프롬프트