Nestjs Angular Starter

screenshot of Nestjs Angular Starter
angular
nestjs

A starter template\boilerplate to work with NodeJS (typescript), Angular (with SSR), and shared models.

Overview:

This product analysis is analyzing a starter template for a NodeJS (typescript) and Angular 10 project. The template includes features such as Angular 10 with SSR, unit tests, JWT and token authentication, social authentication (Google and Facebook), form validations, Docker support, Nginx support as a reverse proxy, and complete CI/CD process based on Github Actions. The template is built on NestJS, which is a more documented and popular library compared to the deprecated "nodejs-angular-starter" it is based on. The template shares models between Angular and NodeJS, and both can run on the same webserver as the NodeJS exposes all default routes to Angular and all known routes to the API.

Features:

  • Angular 10 with SSR
  • Unit tests based on Jasmine and Karma
  • NodeJS express typescript with SSL support based on NestJS
  • Mocha and Chai for backend testing and API tests
  • Environment based configurations
  • Mongoose with basic user model for database
  • Logging using NestJS Logger
  • Bootstrap v4 and SCSS by default
  • JWT and token authentication built-in, including user roles
  • Social Authentication (Google and Facebook)
  • Form validations using class-validator, shared between server and client
  • Docker support based on alpine and node 12
  • Support for Ansible to deploy the app easier
  • Nginx support as a reverse proxy with SSL certificates
  • Complete CI/CD process based on Github Actions

Summary:

This product analysis discussed a starter template for a NodeJS and Angular 10 project. The template includes a range of features such as SSR, unit tests, JWT authentication, social authentication, form validations, Docker support, Nginx support, and complete CI/CD process. The installation process involves cloning the repository, installing dependencies, setting up environment configurations, and starting the development server. This template is built on NestJS and shares models between Angular and NodeJS.

angular
Angular

Angular is a TypeScript-based open-source framework by Google for building dynamic single-page applications and cross-platform mobile apps with MVC architecture and a rich set of features.

nestjs
Nest

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

template
Templates & Themes

A template or theme refers to a pre-designed layout or structure that provides a basic framework for building a specific type of application or website. It typically includes good design, placeholder content and functional features, allowing developers to customize and fill in the details according to their specific needs.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

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.