Skip to content
A coding challenge for developer candidates
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md

README.md

NIST Backend Coding Challenge

Outline

Please build the backend of an URL shortener service (just like https://goo.gl/ or https://bitly.com/. Use Java or Kotlin and Spring / Spring Boot.

Features

  • Implement a REST interface to manage URLs. A user has to be able to create / read / update / delete URLs with that REST interface.
  • New URLs should automatically get a code assigned. This code should not be sequential.
  • There should be a HTTP GET endpoint that takes the code as part of the requested path (like http://localhost:8080/code). A browser that requests such a path should be redirected to the URL assigned to that code.
  • The data has to be persisted in a database (SQL or NoSQL)

Notes

  • You can use libraries and frameworks as you see fit.
  • Commit all changes to a Github repository and follow good commit message practice. The Github repository can be private, if you don't want to publish your solution. In that case please invite the user Thomas-Werner-NIST to that repository.
  • Don't spend more than 4 hours. The goal is to show how you work, not to deliver production-ready code.
  • Focus on good application structure, not a working but hacky solution.
  • Add tests for a part of the application that you think needs tests most.
  • Make sure there's a README with instructions on how to get started.
  • When you're done, send us a link to the Git repo.

Best of luck!

You can’t perform that action at this time.