Using plain pg with Nest.js

This is going to be a quick demo of how to get started using plain pg (node-postgres) with Nest.js — no ORMs in sight. Having found no simple guide on how to do this when I was looking for it — I figu
Continue reading

Trying out Typescript

The intention was to write some demo code to see what problems I come across while just starting to use Typescript, and to document the “work-arounds” along the way. This is a suitable read for anyone
Continue reading

To mock a Mongoose

Use Mongoose in a test without having to have MongoDB running. Mocking done with Mockgoose. Setting upSetting up can take a while sometimes so I decided to give a different approach a go this time rou
Continue reading

Taking the Express route out

Example of how to separate route code in Express.js using npm link. Setting upWe can use the express generator to get up and running quickly with Express. Install it with npm install express-generator
Continue reading

  • Page 1 of 1

Justin Calleja


Malta