PinnedAashish PeepraHow to design clean API interfacesThis is going to be a tough read. This contains too much code to read and no pictures. It’s not for people with faint hearts. So read if…Mar 38Mar 38
Aashish PeepraHow to delete a large number of rows in productionI have been googling about this problem for quite some time now. Finally decided to write how I solved it. Here’s the whole story.Aug 13Aug 13
Aashish PeepraWhy can’t you just put Promise.all()If you ever have been in a relationship, I’m sure you would be in a situation where you made just too many promises and now it’s getting…Apr 7Apr 7
Aashish PeepraUnderstanding Parallelization from Mom’s perspective (Parallelizatio Part 1)How many times have you been told to make your code faster and the first thing that comes to your mind is parallelization? If you’re like…Mar 31Mar 31
Aashish PeepraHow to fix homebrew postgreSQL after abrupt shutdownOn my Macbook I installed postgreSQL@14 using homebrew. However, I noticed that sometimes abruptly restarting my MacBook crashes the…Feb 25Feb 25
Aashish PeepraWhat’s the default “order by” for a database?I’ve noticed a factor related to Prisma many times and finally decided to figure out the “logical explanation” behind it.Feb 21Feb 21
Aashish PeepraThe right way to use environment variablesIt’s 2 PM, and you transformed all the caffeine into code and created a new bank integration feature. Everything works great on your local…Nov 14, 20231Nov 14, 20231
Aashish PeeprainPython in Plain EnglishFolder Structure for Your Backend and How to Keep it CleanStructuring your code base seems like the last thing standing between you and scalability issues, but it is way more important than you…Nov 11, 20232Nov 11, 20232
Aashish PeepraHow to setup production ready logging system in Nest.jsLogging is a very important part of deploying a production ready application. If you have more than 0 customers, it’s highly likely that…Nov 6, 20231Nov 6, 20231
Aashish PeepraWhat if you just wrap your entire DB layer in one giant try catch?I know this sounds dumb but hear me out before you say anything you can’t take back. I’m using Nest.js and Prisma as the backend stack but…Nov 4, 2023Nov 4, 2023