How to easily build, test, deploy and rollback a NodeJs app using SyncRelease

Image for post
Image for post

Typically for developers with no experience in the DevOps process find themselves in a roadblock with how to set up CI/CD build process to run automated testing, deploying their code changes, having a rollback strategy, and managing release branches. It can be a daunting task even for experienced developers or DevOps persons. Today, I would like to show how you can do all those processes easily using our newly baked release management tool called SyncRelease.

SyncRelease is a SAAS app built for making release management process easier. So to get started, in this tutorial we will be building a simple NodeJs app that provides a single REST API endpoint “/sum” to return the addition of two integer numbers. Link to the source of the sample project can be found at the end of this article.

The tutorial is made with screen recording video so that you can see and learn in detail on how to create release packages, automated testing with the build process, code deployment, and rollback. Below is the tutorial videos in Part 1 and Part 2.

Part 1 — covering basic workflow steps in SyncRelease to create release packages, code deployment, and rollback.

Part 2 — how to set up an automated build process (CI/CD) to unit tests, build a custom Docker image, and continuous deployment

For those who want to start using SyncRelease or try it out for your release management needs, please visit https://syncrelease.com/get-access to get free access through our beta testing program.

The source of the example NodeJs application used in the tutorial is on Github:

https://github.com/kevinthant/calculator-api-demo

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store