Custom endpoint with code

Check out this great playlist. It shows you how to create a new route and customise the controller to handle different database operations.