How to create a backend for a custom theme?

You can create using page builders as well as using widgets or you can use custom post types and create page templates for different pages of your custom WordPress theme website.