Log inBook a Demo
Hiring
Intermediate

Back-End Engineer (Java Spring Boot): product search API implementation

Time available:1 hour
|
Available in
+8
ByAnthropos
This simulation was archived and cannot be started
1
The challenge

XYZ Company must enhance its catalog browsing experience to stay ahead of competitors.

2
The issue

Rivals are introducing AI-driven features, pushing XYZ Company to upgrade its API infrastructure.

★
Your goal

Your goal is to implement and refine a robust search API that meets performance benchmarks.

Your Role

Back-End Developer@ XYZ Company

You are a Back-End Developer at XYZ Company, a leader in e-commerce innovation.

Other participants

Devin ShawLead Back-End Developer

Context

XYZ Company, a leader in the e-commerce industry since 2015, is renowned for its highly optimized catalog browsing experience. With a proprietary API infrastructure processing over 1 million daily API calls at an average response time of 120 milliseconds, the company ensures seamless interactions across its mobile app and web platform. This robust system supports advanced filtering capabilities, enabling users to search by parameters like price range, category, and availability, which has driven customer satisfaction scores to an impressive 92%.

The company’s technical stack includes Java Spring Boot for back-end development, PostgreSQL for database management, and AWS for scalable cloud hosting. These technologies allow XYZ Company to maintain high performance and adaptability, even during peak traffic periods like Black Friday. Key milestones include the launch of its mobile app in 2018, which boosted mobile traffic by 35%, and its international expansion in 2021, contributing to a 20% revenue growth. However, the competitive landscape is evolving, with rivals introducing AI-driven recommendation systems and real-time inventory updates, prompting XYZ Company to accelerate its API enhancement initiatives to maintain its edge.

You will step into the role of a back-end developer at XYZ Company, tasked with refining and implementing the ProductSearchController.java file for a new high-performance product search API. This API is critical to enhancing the company’s catalog browsing experience and meeting competitive demands. Your primary responsibilities include adding correct parameter annotations to extract data from HTTP requests, implementing filtering logic for categories and price ranges, and ensuring the API returns appropriate HTTP responses for various scenarios, including edge cases.

Throughout the simulation, you will collaborate with Devin Shaw, the lead back-end developer, who will provide feedback on your work. Devin will challenge your technical decisions, offer insights to optimize your code, and ensure your implementation adheres to RESTful standards and architectural guidelines. Together, you will work to deliver a robust API that meets stringent performance benchmarks and stakeholder expectations.

  • Collaborate with Devin Shaw to refine and implement the ProductSearchController.java file.
  • Add appropriate parameter annotations (@RequestParam, @PathVariable) to handle HTTP requests effectively.
  • Develop efficient filtering logic for categories and price ranges.
  • Construct appropriate HTTP responses (200, 404, 400) for various scenarios, including edge cases.
  • Ensure your implementation aligns with RESTful conventions and meets performance benchmarks.

Evaluated Skills

Spring BootREST APITechnical Problem-Solving

Helpful for

Back-End DeveloperSoftware EngineerAPI Developer