CareerFlora
AI Tools & Prompts

Building a Scalable Search Service with FastAPI and PostgreSQL Prompt

This is a ready-to-use Building a Scalable Search Service with FastAPI and PostgreSQL Prompt for ChatGPT. Copy the prompt below, paste it into your AI tool and adjust it to your needs.

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.

How to use this prompt

  • Copy the full prompt and paste it into a new chat.
  • Add your own details after the prompt, if needed.
  • Ask follow-up questions to refine the result.

Written by S NAR

Career Expert & Researcher. Dedicated to bringing you the most authentic and verified updates on global scholarships, internships, and career opportunities to help you stay ahead.

Related Opportunities