How do I render a mesh using a custom set of shaders?

Could you share some code that demonstrates a basic pipeline of using custom shaders? I haven’t found any official documentation that is good enough to get me started.