Alfonso GhislieriKeeping Your Database in Sync with Changing Data by using HashingThe ProblemAug 16Aug 16
Alfonso GhislieriJavascript singleton for Agenda schedulerSo you want to setup a job scheduler inside of your application and you chose to use something like Agenda ? Great! Now you want to…Nov 22, 2023Nov 22, 2023
Alfonso GhislieriFixing timeout errors when mocking Date in Jest using SupertestI’ve recently been running into timeout errors when trying to mock timer functions when using Jest and Supertest to test my API routes…Oct 31, 2023Oct 31, 2023
Alfonso GhislieriAuto-assigning roles discord botRecently I started working on a discord bot that has a lot of my favourite features from other bots I have seen around discord. One of the…Jul 15, 2022Jul 15, 2022
Alfonso GhislieriInjecting MongoDB database as a dependency for isolated unit testingTo follow up on the recent article regarding mocking database queries, I forgot to mention that it is also important to not actually…Apr 29, 2022Apr 29, 2022
Alfonso GhislieriMocking Mongoose to test API’s with JestThis is going to be a short guide explaining how to use Jest to mock Mongoose and test API routes in isolation from any database.Apr 29, 20221Apr 29, 20221
Alfonso GhislieriAll quiet on the coding front?I think not! When I look back and see its been a month since my last post, it makes me realize just how busy it has been… During my last…Feb 18, 2022Feb 18, 2022
Alfonso GhislieriWorking with APIsSo this weekend I worked on making sure I was comfortable with DOM (document object model) and fetching data from an API. Github link to…Jan 17, 2022Jan 17, 2022
Alfonso GhislieriJavascript — event loopAnd then it was time to leave ruby behinnd and pick up one of the most important languages… Welcome Javascript!Jan 14, 2022Jan 14, 2022
Alfonso GhislieriDiagrammingOne of the biggest lessons I learnt from a background in academia is that planning goes a LONG way when tackling any project. With coding…Jan 2, 2022Jan 2, 2022