/scala-job-challenge

Emites Scala Job Application Challange

Primary LanguageScala

Emites Scala Job Application Challange

Target

The customer has requested a way to query for movie titles in IMDb.

You must fork this repo, develop the software, and pull the request for application. Working PRs are going to be reviewed in their turn.

Requirements

  • You must respect the Uncle Bob’s Clean Code principles. We expect an easily understandable code.
  • You must use Scala 2.12 and SBT.
  • It must read on a TCP port for requests.
  • It must support multiple concurrent connections.
  • The protocol is text, according to:
    • <query length>:<query>
    • The query length mustn’t consider the : separator.
  • You must not use any non-builtin framework, sine qua non condition. No Spring, no Akka, no PlayFramework.
  • Unit tests are strictly required.
  • The response must respect the same request protocol.
  • The response payload must be a movie title list separated by LF (\n).
  • You must supply the installation and use documentation.
  • The code must be shared on GitHub.

Desired

  • You’d use JVM 1.8.
  • Respect the Scala Style Guide.
  • The response payload should be terminated by LF (\n) in the last item.
  • You might write an acceptance test.
  • Avoid D.I. external libraries, prefer language builtins.

Suggestions


Alexandre Silva
Rodrigo Cacilhas