Dev Ops: Test Driven API Development Environment (Node,Express,Type Script)

mkdir chatserver
cd chatserver
npm init
npm install typescript --save-dev
npm install @types/node --save-dev
npm install ts-node --save-dev
npm install mocha @types/mocha --save-dev
npm install chai @types/chai --save-dev
npm install supertest @types/supertest --save-dev
npm install express @types/express --save
mkdir src
mkdir tests
touch tests/hello.test.ts
mkdir dist
npm run start
npm run test
npm run develop
npm run build

--

--

--

Veteran Software Developer with over 25 years of experience. Specializing in DevOps, Full Stack and Game Development.Repairs Old Consoles.Polyglot.Traveler.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Technical Debt as Risk

Learning From the Giants — Top Engineering Blogs you Must Follow

Run Your Local Database in Docker! 🐳

Quickly Set Up Your Mac Development Environment Using a Simple Script

The Monolith That Breaks Up Itself

Improve Your App’s Performance With Profiler

How to Speed Up Software Delivery

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Terence Tan

Terence Tan

Veteran Software Developer with over 25 years of experience. Specializing in DevOps, Full Stack and Game Development.Repairs Old Consoles.Polyglot.Traveler.

More from Medium

Making Classes from Imported Modules Injectable in NestJS

OAuth 2.0 with Passport.js Part — 2

Websocket Connection Using Shared Worker

Configure private NPM package registry using Yarn 2 and Gitlab CI/CD

Photo by <a href=”https://unsplash.com/@markusspiske?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Markus Spiske</a> on <a href=”https://unsplash.com/s/photos/coding?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Unsplash</a>