Starting New Typescript Projects For Backend Development Using NodeJS

There are so many flavours of how to start learning Typescript. I created a guide that is mainly for experienced backend developers building NodeJS applications using Typescript.

This guide assumes prior knowledge on programming and API development in another language and framework.


Module 1: Project Setup

This module will guide you how to setup the project with common conventions and automation from VSCode in the end.

πŸ€– Project Setup


Module 2: Designing a Domain Model

This module will guide you how to build a domain model, test it and understand object-oriented capabilities of Typescript:

πŸ—οΈ Designing Domain Model


Module 3: Building Persistency

This module will guide you how to build a module in NodeJS using Typescript conventions and export the implementation as a contract rather than a concrete implementation:

πŸ“€ Building Persistency


Model 4: Servicing Domain Model

This module will guide you how to inject dependencies and test them using Jest Spy techniques.

🚚 Servicing Domain Model


Model 5: Building REST API

This module will introduce a challenge to connect all previous modules to build a REST API.

🏟️ Building REST API


Full source code and documentation are available at:

https://github.com/mahmutcanga/typescript-starter/

Published by

What do you think?

This site uses Akismet to reduce spam. Learn how your comment data is processed.