Typescriptlang.org https://www.typescriptlang.org/docs/handbook/generics.html Interfaces : One of TypeScript’s core principles is that type checking focuses on the shape that values have. This is sometimes called “duck
TypeScript for JavaScript Programmers – I
Typescriptlang.org function greeter(person: string) { return “Hello, ” + person; } let user = “Jane User”; document.body.textContent = greeter(user); Interfaces : interface Person { firstName:
AWS Lambda – I
Policy: A policy defines the AWS permissions that you can assign to a user, gourp, or role. You can create and edit a policy in
Typescript – Configuring, Compiling and Debugging
Configuring, Compiling, and Debugging TypeScript Projects Why TypeScript ? 1. Compile-time type checking prevents errors 2. Classes, types and interfaces assist in collaborative development 3.
Typescript 3 – Interface & Generic
Interface interface IsPerson { name : string; age: number; speak(a: string): void; spend(a: number): number; } const me: IsPerson = { name: ‘shaun’, age: 30,
Typescript 2 – Interface & Classes
1.tsconfig.json { “compilerOptions”: { “target”: “es6”, /* Specify ECMAScript target version: ‘ES3’ (default), ‘ES5’, ‘ES2015’, ‘ES2016’, ‘ES2017’, ‘ES2018’, ‘ES2019’, ‘ES2020’, or ‘ESNEXT’. */ “module”: “es2015”,
Payment Terms
Payment system : – payment systems (also known as payment processing services, payment processors, or merchant services ) A payment system is any system used
Nodejs Debugger II – Typescript Nodemon
Configuring Nodemon on a Node.js server 1. Add Nodemon as devDependency : “name”: “nodemon”, “version”: “1.0.0”, “description”: “”, “main”: “server.js”, “scripts”: { “start”: “node src/server.js”
NPM Tips – #1 Install Packages
I.NPM Quick Tips #2 Use Shortcuts to Install Packages #3 Show Installed and Outdated Packages Update All Node.js Dependencies to Their Latest Version # How
Todo
1. Basic MERN APP 2. MERN Microservices 3. Authentication 1. Cookies Based 2. Token Based 3. Session Based 4. Store Session in DB 4. React