In most simple terms, boilerplate code is that code which you have to write repeatedly every time you start building something using any framework or some combination of frameworks before writing any actual business logic of your application. That's why developers create starter packs or scaffoldings of frameworks so that you jump right into writing the business logic and you don't have to waste time writing the same configuration code repeatedly which doesn't involve any critical thinking. Examples are Yeoman generators, React boilerplates and Express generators. These boilerplates essentially include opinionated set of libraries and directory structures which are configurable as your application scales.