Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile
Articles by NzInput Module
Validating REST requests in a NestJS application and displaying errors in Angular application forms
In this post I will add validation of REST requests in NestJS application and their display in forms of Angular application. Install a new DTO generator from the Prisma schema and remove the old one, since the old one does not add validation decorators using class-validator. Commands npm install --save-dev @brakebein/prisma-generator-nestjs-dto@1.24.0-beta5 npm uninstall --save-dev prisma-class-generator We delete the old generated code and create a new one.
Integrating an external file server https://min.io into a full-stack application on NestJS and Angular
In this article, I will connect an external file server https://min.io to the project and write additional backend and frontend modules for integration with it. Create an empty Angular library to store components and services for sending files to the server.
Creating a user interface for the Webhook module using Angular
In this article, I will describe the creation of a table displaying data and a form for filling it out, the interfaces are based on components from https://ng.ant.design, forms are created and managed using https://formly.dev, for styles used https://tailwindcss.com, there is no state machine. This library contains components for displaying and working with the data of the Webhook entity.
[Angular] Export excel from table or json
1.NPM packages installation npm i xlsx npm i file-saver npm i @types/file-saver 2.Create a service called ExportExcel (export-excel.service.ts) import { Injectable } from '@angular/core'; import * as fileSaver from 'file-saver'; import * as XLSX from 'xlsx'; @Injectable({ providedIn: 'root' }) export class ExportExcel { byJson(jsonData: any, fileName: string, header?: string[]): void { // create a worksheet const ws = XLSX.utils.json_to_sheet(jsonData, { header: header }); // create a...
[Angular] Custom a DatePipe to support special time zone conversion from user
It didn't use a time zone format of datetime in database, data has only one time zone. a. Columns: b. Data: So I'll define a custom DatePipe to extend DatePipe in my source code of Angular. 1. Create a pipe class of Angular called MyDatePipe.
Show More
loading
Actions
Is this you?
As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.Get in touch with NzInput
Contact NzInput, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck Rack