Skip to content

Take Home Interview problem for the basic router

Notifications You must be signed in to change notification settings

10gen/basic-router-take-home-interview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

MDB Take Home Project!

Welcome to the MDB Take Home. Today we'll be implementing a basic HTTP router.

Here are some pointers:

* Pick any modern language you like! Some options are python, golang, java,
  javascript, rust, etc.
* We prefer clean code that's easy to follow.
* All solutions should be runnable easily.
* All solutions should have tests verifying implemented functionality.

What's the problem?

We (you!) are going to build an HTTP Router. We're looking for a clean implementation that can:

* Route an HTTP path and method to a function, and return an error code and
  message.
* Support path parameters for HTTP paths. For example: support "/foo/{bar}"
  where the same handler would execute for both "/foo/asdf" and
  "/foo/qwerty". Path parameters should be passed into the request handler
  either as function parameters, or within a Request object.

We've added some starter code in the getting_started directory. Feel free to use that as a way to get moving, adapt it to the language of your choosing, or disregard it completely for your own solution.

How to submit a solution?

To submit a solution:

* Fork this repository
* Make your edits and push them to your fork
* Open a PR!

Questions?

If something here is unclear, feel free to reach out to you recruiter, and they'll get you in contact with somebody who can answer your questions.

About

Take Home Interview problem for the basic router

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages