Building and running a Node.JS, TypeScript, PostgreSQL app with Docker

Creating a Node.JS application

npm install typescript tslint --save-dev
npm i @types/express @types/node --save-dev
{
"compilerOptions": {
"module": "commonjs",
"esModuleInterop": true,
"target": "es6",
"moduleResolution": "node",
"sourceMap": true,
"outDir": "dist/src"
},

Creating and starting our server using TypeScript

Postgres configuration

TodosController

Todos router

Full Stack Developer (specialised in .NET Core, Angular and ReactJS)