DEV Community

Justin Kelly
Justin Kelly

Posted on

Framework Boilerplates in JavaScript

Our group assignment was to implement JavaScript boilerplate code, with each group member doing a different framework.

What commonalities are there between the boilerplate code?
The file structure of the boilerplate code was very similar between the examples. Each had a package.json for dependencies, folders for the source/app, and read me files. All boilerplates had steps for the basic setup.

What is duplicate / overlapping?
Source folders are commonly overlapping in the boilerplates, although they have some discrepancies in the different files they contain.

Which do you think is the easiest DX (Developer eXperience) to get going?
React seems to have the easier developer experience for getting started. The initial setup seems more intuitive than the other boilerplates. The folder names like app, docs, internal, and server make it very clear which area of the code you are working in.

If starting to build an "app" tomorrow, which would you prefer and why?
If I was going to build an app tomorrow I would certainly prefer React for the reasons outlined above about its easier setup process. I think maintaining code with React would also be less confusing than some of the other boilerplates because of the slight differences in the file structure.

Provide a links in your post to your organization as well as the repo that you got your boilerplate from
Organization on GitHub
Boilerplate repository

Top comments (0)