The best boilerplate is created by yourself!
Boilerplate, it is the term used to describe sections of code that can be included in many places with little or no alteration. It is more often used when referring to languages which are considered verbose, i.e. the programmer must write a lot of code to do minimal jobs. Boilerplate code is a piece of code which can be used over and over again or we can say it, a piece of reusable code.
It let you get your next project up and running quickly, and usually provide some form of structure you can follow. However, it could be time consuming. You know your needs, so only you who know the requirement of the system. That’s why the best boilerplate is created by you :D.
TypeScript is a superset of the JavaScript language that has a single open-source compiler and is developed mainly by a single vendor: Microsoft. The goal of TypeScript is to help catch mistakes early through a type system and to make JavaScript development more efficient. Type defined = less error.
In this post, I’d like to introduce a boilerplate for creating backend server powered by Express and yup, with the kindness of Typescript. It handles essential requirements for development, including Typescript compiling system, hot reload, linting system, logger and test runner.
Check out the Express with Typescript boilerplate, I hope it helps creating your own boilerplate.