#metaprogramming is awesome. In a new project, adding an API endpoint is as simple as defining a single constant