Skip to content

Instantly share code, notes, and snippets.

@joshdvir
Created January 25, 2023 16:15
Show Gist options
  • Save joshdvir/ec941e4b7ef8c35455a222e7b2bd6b0c to your computer and use it in GitHub Desktop.
Save joshdvir/ec941e4b7ef8c35455a222e7b2bd6b0c to your computer and use it in GitHub Desktop.

Candidate must have an IDE like Visual Studio Code installed, Docker Desktop or Podman set up locally, and the ability to share their screen over Google Meet.

  1. Create a simple Sinatra application, Gemfile, config.ru, etc...
  2. Add a healthcheck endpoint to the application
  3. Add a /google endpoint - this endpoint should get the body from google.com and save it to a local file
  4. Dockerize it
  5. Run it locally through Docker Confirm it works by visiting http://localhost
  6. Add Sidekiq to the appliation
  7. Change the /google endpoint to start a worker to get the body of google.com and save it to a local file
  8. Start Sidekiq as another process

Share the configuration files you created

Good Luck!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment