TypeScript

Showing 1-6 of 6 results
EngineeringIcon ChevronBack-end

Working With TypeScript and Jest Support: An AWS SAM Tutorial

by Mohammad Faisal

JavaScript boilerplate is easy enough to come by, but there's a bit more to starting AWS SAM projects with TypeScript. Here's how to create an AWS SAM TypeScript project from scratch with Jest support.

10 minute readContinue Reading
EngineeringIcon ChevronWeb Front-end

TypeScript vs. JavaScript: Your Go-to Guide

by Daniele Monesi

Considering you can include as much plain JavaScript as you like in your TypeScript project, what factors should you consider when choosing TypeScript for your application? Let's explore.

10 minute readContinue Reading
EngineeringIcon ChevronBack-end

Building a Node.js/TypeScript REST API, Part 3: MongoDB, Authentication, and Automated Tests

by Marcos Henrique da Silva

Our Express.js REST API series ends with a bang! Learn how to add a Dockerized MongoDB instance, Mongoose, JWT authentication, user permissions, and automated testing with Mocha, Chai, and SuperTest.

25+ minute readContinue Reading
EngineeringIcon ChevronBack-end

Building a Node.js/TypeScript REST API, Part 2: Models, Middleware, and Services

by Marcos Henrique da Silva

The Express.js REST API journey continues! Move from models to full DAOs and DTOs, validate requests with middleware, separate services from controllers, and prepare for a real database.

17 minute readContinue Reading
EngineeringIcon ChevronBack-end

Building a Node.js/TypeScript REST API, Part 1: Express.js

by Marcos Henrique da Silva

Learn practical TypeScript patterns with interfaces and extended classes. Avoid messy console.log() statements with Winston and the Node.js debug module. Create an Express.js-powered REST API back end from scratch!

12 minute readContinue Reading
EngineeringIcon ChevronBack-end

Working With TypeScript, Dependency Injection, and Discord Bots

by Michał Krakiewicz

Types and testable code are two of the most effective ways of avoiding bugs. In this tutorial, discover TypeScript best practices while you create a Discord bot from scratch.

10 minute readContinue Reading

Join the Toptal® community.