
This part of the tutorial can be substituted with AWS or Microsoft Cloud or another fancy cloud VPS service of your choice. And who doesn’t like free $50 in credits, am I right? Please, do register following this link, I have a number of Telegram bots to support. Creating Digital Ocean droplet Alright, alright, here’s the deal, reader - here’s my referral link for Digital Ocean - if you register at Digital Ocean with it, you will get free $50 (it can last 10 months if you only use one $5/month droplet) and I will get $25 when you spend your first $25. If you’re seasoned enough - feel free to only use what matters for you. This comprehensive tech stack is presented within the tutorial just to simplify matters for the emerging developers. Or you can use your existing app (doesn’t even have to be Node.js) if you wish so - this tutorial is pretty versatile.Īny part of this tutorial can be omitted or substituted with your own solution. You can download this starter, fill out environment variables (secrets, DB URI, social network app IDs, etc.), and when it successfully runs, follow this tutorial to deploy it. It’s a backend starter that is free to use (MIT licensed) and that has everything you need set up: authentication, router, server, TypeScript (yay, types!), database ORM (also in TypeScript). We will start with my Node.js + TypeScript + Koa + MongoDB starter that you can clone from here. Hello Internet! I’ve been using this way of deploying my servers to Digital Ocean droplets for a while now (deployed over 40 different web services, database layers, telegram bots, etc.) - and thought that it might be a good idea to describe the process.
