12 Factor App Microservices

screenshot of 12 Factor App Microservices
nestjs

12 factor principles using nestjs

Overview:

This analysis focuses on a NestJS application that serves as a starter repository for implementing the 12 Factor App methodology in a Node.js environment, specifically on cloud.gov. It aims to showcase the implementation of best practices such as tracking codebase in revision control, managing dependencies, storing configuration in environment variables, treating backing services as attached resources, and more.

Features:

  • Baseline: Provides a starting point for implementing the 12 Factor App methodology in a NestJS application.
  • Lint & Test Configurations: Includes configurations for linting and testing the application.
  • Migration Setup: Setup for migrating data and codebase.
  • Unit & Integration Test Setup: Configurations for setting up unit and integration testing.
  • Pin Down NPM Package Versions with Yarn.lock: Ensures specific versions of NPM packages are locked down.
  • Manage Configuration Values with Environment Variables: Demonstrates storing configuration values in environment variables.
  • Build, Release and Run Containers with Docker Compose: Guidelines for building and running containers using Docker Compose.
nestjs
Nest

A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.