From the last post, I decided to to rename my Aggregate to Individual to align more with a ubiquitous language, a key component of DDD. đŸ˜‰ I also updated the read model to contain a list of multiple batch statistics so the api would return a single object and not an array of objects. One… Continue reading Trying out TDD, building a registration app
Category: learning
Set up MockServiceWorker for easier front-end development
This week I got the opportunity to introduce the Mock Service Worker library into the user story I was working on. Building a fronted app that should behave differently depending on the response we get from the API gets challenging if you always have to rely on a live API. I first used this library… Continue reading Set up MockServiceWorker for easier front-end development
Experiments with Event Modeling, building a Registration App
I have been reading "Understanding Eventsourcing" by Martin Dilger and got inspired to update my wishlist app to use event sourcing. I managed to do it in a branch but then I stopped because I also wanted to see how feasible it would be to start a project from scratch. My highschool batch is now… Continue reading Experiments with Event Modeling, building a Registration App
Advent of Code Starts Today!
I've been participating in Advent of Code since 2020, which was a really great year to start it given the pandemic and all. I have an ex-colleague to thank / blame for introducing it to me back then. I've been pretty good at posting my solutions in my repo https://github.com/therealjawss/aoc2020 but please don't judge as… Continue reading Advent of Code Starts Today!
Today I Learned
When using generate clients in Visual Studio, baseUrls should have a trailing '/' especially those with a path at the end otherwise, the generate client only uses the domain name up till the domain suffix. JSON to JSON Schema (transform.tools) - useful tool for quickly converting a json object to schema most common options for… Continue reading Today I Learned
Adventures in CI/CD with Co-pilotÂ
I got the privilege of picking up the CI/CD task from the backlog. I have some background in building CICD pipelines with YAML but that was mainly from the application test and deployment perspective. Creating pipelines that also creates and updates resources in Azure was going to be entirely new for me. Luckily, I had… Continue reading Adventures in CI/CD with Co-pilotÂ
Notes on setting up web and api in docker containers for development
I wanted learn more about using docker and containers for setting up a good development environment. My solution right now consists of a front end built with Nextjs and an ASPNET core backend. Each of the apps have their own docker compose files which I can use to get both up and running and go… Continue reading Notes on setting up web and api in docker containers for development
Summer project summary
6 weeks of summer vacation where 2 of those weeks were spent away from the computer. It's definitely the longest break I have had for a while. I wanted to spend some of the break time learning a few new things and I decided to work on a small wishlist app. While I had planned… Continue reading Summer project summary
Improving the public wishlist
Now that I have some basic persistence going, I can spend some time improving things that are not so ideal. One thing I wanted to change was the URL for the public wishlist. When a wishlist is shared, the URL was only slightly different in that it had public between wishlist and ID. So, someone… Continue reading Improving the public wishlist
Implementing persistence
So far we've just been using an in memory temporary repository for persisting the wishlist, which means every time I make a new deployment, the repository resets. I wanted to have some form of persistence now that the basic functionality is in place. I don't want to be paying for SQL just yet so I'm… Continue reading Implementing persistence
