DEV Community

Cover image for BC Boilerplates: Recent Updates
Rodion
Rodion

Posted on

BC Boilerplates: Recent Updates

Over the past few months, BC Boilerplates have undergone several changes, covering important aspects from testing to automating installation processes.
Below, we are pleased to present updates that will facilitate the development process of applications built on boilerplates from the BC Boilerplates ecosystem.

Extensive-react-boilerplate received the following updates:

  1. From now on, e2e test development will ensure their stability through the Playwright tool (previously Cypress was used), which has excellent support from Microsoft. The ability to run parallel tests is provided, reducing execution time (in Cypress, this was available for an additional fee).
  2. Sign-Up Disablement: For convenient management of the registration mode offered by the Boilerplate, it is now sufficient to specify the exact value of the env variable in the config file (true/false).

    {IS_SIGN_UP_ENABLED && (
    <Button
    onClick={handleCloseNavMenu}
    sx={{ my: 2, color: "white", display: "block" }}
    component={Link}
    href="/sign-up"
    >
    {t("common:navigation.signUp")}
    </Button>
    )}
    
  3. Availability of a privacy policy page with contact information for any questions.

New features of nestjs-boilerplate are related to the running tests in watchAll mode and CLI usability:

  1. Tests. The separate 'container' which by default runs in watchAll mode was improved. Compared to the previous approach, it used to be necessary to run each time a container with e2e tests from the very beginning, but now it is running continuously in standby mode. If you change any test, you can run exactly the ones you need at that moment.
  2. CLI has been added to assist the installation process of your project. Now you have the option to choose a database for the backend (Postgres or Mongo), whereas previously, more than 60 files had to be manually changed. You can remove unnecessary features for your development with just a few clicks.
  3. CLI for resource generation. Automatic generation of domains, endpoints, repository, Swagger documentation, swagger documentation, and the necessary entity, providing resources and interfaces for the Extensive-react-boilerplate from the backend side.

Some changes apply simultaneously to extensive-react-boilerplate and nestjs-boilerplate:

  1. A section for editing the email address has been added to the user profile. email editing section It is important to note that the user must confirm their request to change their email address by responding to the confirmation sent to the new email address provided.
  2. A common CLI tool for automating tasks related to release-it package versions and publication has been added. It handles versioning of the existing code and generates an automatic changelog based on commits, using the specification rules for recording changes in conventional commits (refer to CHANGELOG.md).

git commit histiry
backend commits

The proposed updates will significantly increase the convenience and efficiency of development and will become an even more powerful tool for creating and supporting modern SaaS solutions. We're always looking for ways to improve your development experience. Please, let us know what you think and share your feedback via https://bcboilerplates.com/#contacts in the way you prefer.

Top comments (0)