projects
some of the things I've made and lessons I've learned
about
The fakerMaker3000 allows you to create a csv of fake data using the Java datafaker library, and you can save your schema using a UUID so you can come back and modify it later.
stack
- Kotlin, Spring
- Astro, React, TypeScript, tailwindcss
- nginx
- docker
- postgres
motivation
After having to create a CSV for an internal app at work and trying to test it, I realized making test data by hand was an absolute pain (only setting the entity fields you’re testing). To mitigate this I spent two days at work making generators that used valid business logic for the two db entities I was working with so I could easily create 100 employers with 1000 employees each. It made testing things way easier and I thought it would be fun to expand on that.
things learned
This app had a lot of firsts for me:
- setting up a data structure for a payload that can change in every request (the fakermaker schema)
- deserializing a payload that can change in every request
- not having nulls in your DTO constructors (Kotlin sort of forces you to define defaults)
- deploying a front and back end
- creating my own dockerfile
- setting up nginx for routing backend requests
- filtering traffic to my Digital Ocean droplet using a Cloudflare proxy (bot traffic mitigation)