TS + MongoDB + Express.js

In this article, we will create a URL Shortener API which can create and retrieve data from MongoDB Cloud.

What is TypeScript

TypeScript is a superset for JavaScript developed and maintained by Microsoft. In JavaScript, the code is interpreted by browser at runtime which is kinda bad because you won’t be able to catch errors until you run your code. TypeScript prevents error like this by extending JavaScript with types. Since TypeScript is a superset of JavaScript, you can write plain JavaScript code in TypeScript file and choose not to use any features of it. TypeScript behaves like a compiled language where the…

Batuhan Yenidünya

Junior Fullstack Developer

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