Logo video2dn
  • Сохранить видео с ютуба
  • Категории
    • Музыка
    • Кино и Анимация
    • Автомобили
    • Животные
    • Спорт
    • Путешествия
    • Игры
    • Люди и Блоги
    • Юмор
    • Развлечения
    • Новости и Политика
    • Howto и Стиль
    • Diy своими руками
    • Образование
    • Наука и Технологии
    • Некоммерческие Организации
  • О сайте

Скачать или смотреть Using TypeScript with Node JS | Step by Step using TypeScript in a Node js App to create a REST API

  • NomadCoder
  • 2020-01-17
  • 15970
Using TypeScript with Node JS | Step by Step using TypeScript in a Node js App to create a REST API
JavaScriptgeek97nodejsTypeScriptinterviewngIndiaTypeScript in nodejsstep by step typescript
  • ok logo

Скачать Using TypeScript with Node JS | Step by Step using TypeScript in a Node js App to create a REST API бесплатно в качестве 4к (2к / 1080p)

У нас вы можете скачать бесплатно Using TypeScript with Node JS | Step by Step using TypeScript in a Node js App to create a REST API или посмотреть видео с ютуба в максимальном доступном качестве.

Для скачивания выберите вариант из формы ниже:

  • Информация по загрузке:

Cкачать музыку Using TypeScript with Node JS | Step by Step using TypeScript in a Node js App to create a REST API бесплатно в формате MP3:

Если иконки загрузки не отобразились, ПОЖАЛУЙСТА, НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если у вас возникли трудности с загрузкой, пожалуйста, свяжитесь с нами по контактам, указанным в нижней части страницы.
Спасибо за использование сервиса video2dn.com

Описание к видео Using TypeScript with Node JS | Step by Step using TypeScript in a Node js App to create a REST API

This video teaches you to use TypeScript in a Node.js application. You can read step by step article on the same here :
https://debugmode.net/2019/12/31/step...

To follow create a folder and run npm init inside the folder, then follow steps below,
Step 1 : Install dependencies

npm install -D typescript
npm install -D tslint
npm install express -S
npm install @types/express -D

Step 2 : Create a file called tsconfig.json and put below code ,

{
"compilerOptions": {
"module": "commonjs",
"esModuleInterop": true,
"target": "es6",
"moduleResolution": "node",
"sourceMap": true,
"outDir": "dist"
},
"lib": ["es2015"]
}

Step 3 : Create a file called tslint.json and put below code,

{
"defaultSeverity": "error",
"extends": [
"tslint:recommended"
],
"jsRules": {},
"rules": {
"no-console":false
},
"rulesDirectory": []
}

Step 4 : Modify package.json file

"main": "dist/app.js",
"scripts": {
"start": "tsc && node dist/app.js",
"test": "echo \"Error: no test specified\" && exit 1"
},

Step 5 : Create a src sub folder inside main folder and inside that create a file app.ts , and write below code,
console.log('ts');

Step 6 : run command npm start and you should see the output.
npm start

You can read step by step article here :
https://debugmode.net/2019/12/31/step...
For training or consulting reach out to me at [email protected]

Комментарии

Информация по комментариям в разработке

Похожие видео

  • О нас
  • Контакты
  • Отказ от ответственности - Disclaimer
  • Условия использования сайта - TOS
  • Политика конфиденциальности

video2dn Copyright © 2023 - 2025

Контакты для правообладателей [email protected]