Member-only story
Your scaffold for CircleCI + Automated Tests + NestJS
An easy way to get started with automated tests with CircleCI

This article was in my mind to write since last year when I started to code with NestJS framework. Some topics to watch out:
- CircleCI articles are usually less than enough for a real app
- You need to dig a lot to find what fits your project
- All projects are somehow similar and different and you need to figure it you, again, what fits to your project.
Let’s get started
I am writing about NestJS project but this approach might fit to any NodeJS backend application you are building. If you are lazy enough to read, here’s the final source code.
Developing a software is quite often a challenge which has several ways to go and find a feasible solution.
What I would like to share today is one of the several solutions you might find in the software engineering field.
Going for basics, an automated CI/CD pipeline should be able to:
- Build your project
- Allow you to use databases for local tests in the run
- Allow you to run unit tests and e2e tests
- Do basic quality control with lint