Bun - https://bun.sh/docs/installation
To install dependencies:
bun install
bun run src/index.ts
bun test
docker build --pull -t <image_name> .
docker run -d -p 3000:3000 <image_name>
While I love learning new languages, I'm most comfortable in TS/JS. I want to demonstrate my best, and I can't do that while simultaneously picking up new language (at least not in a sane amount of time).
Bun was primarily selected for it's out-of-the-box TypeScript support, speed, and built-in testing framework. This makes it a reasonable choice for this type of exercise.
The out-of-the-box HTTP server requires manual parsing of request objects and manual creation of response objects. It leaves a lot of room for human error.
For the simplicity of running this exercise, HTTP is used. In production, HTTPS would be configured.