For a few months I have been working in a multinational company where I am a software engineer. I must admit, the job is great, people are great, the manager is great but still I don’t like the idea to be bound to a place and a company were you being told what to do and how to do it and getting paid per hour. One of my goals for 2019 is to be independent from all of these things.
I know if I want to achieve this goal, I must learn how to make money while I am sleeping and this will be hard and perhaps impossible. But as Dutch say: Niet geschoten is altijd mis, which kind of means nothing ventured, nothing gained.
The Minimum Valuable Product
Enough about me, lets talk about the MVP.
I must admit I am not a creative person which has new idea’s every single hour. So sometimes I just scan the internet to see what other people create and what idea’s are already validated. There are actually 2 sites which I visite every day for new ideas. One is Producthunt, other is Hackernews.
Personally I think that e-marketing will keep growing as more products and services are bought over the internet. So I wanted to create something that has something to do with e-marketing. Some weeks ago I came across a product which is called PixelMe. It is an url shortener which creates a proxy page where the tracking pixels are placed. I went looking for alternatives to see if this kind of product has competition and if so, how marketers are using it (by watching youtube videos). It seems to me it is being used by some decent amount of marketers so there is a market. One other thing that I did found is that all of the services are in my view over-priced. In the end I did set a goal for myself to (clone) create a MVP which shortens url’s and places a fb/google analytics tracking pixel in the proxy page and it must be initially free to use. And one other constraint: it must be fully production ready in 2 weeks.
The Tech Stack
I am big fan of serverless, as Coca Cola states: “The Serverless Framework is a core component of The Coca-Cola Company’s initiative to reduce IT operational costs and deploy services faster.”
Which helps me with my constraints of releasing the product fast and having almost no cost, thanks to the free tiers. However as you might think, I am not using AWS lambda but Google Cloud Functions. This choice has been made because I have never worked before with AWS and I didn’t have time to learn it. I also think Google Cloud Functions are more out of the box which gives more time on building the MVP instead of spending time on the configuration and discovering features.
Currently there is only 1 cloud functions which is a express.js app which has 2 routes. One route is to convert an url to an short url, other is to generate a proxy page and serve it to the user. As persistent storage I am using Firestore which works great with cloud functions and also has a free tier. One drawback of Firestore is read performance and as far as I know there are far better alternatives for having higher read speed, which is kind of important for serving fast proxy pages.
In the end using the firebase free tier, the total costs are ZERO. I also don’t need to manage any infrastructure or have any security concerns which is a great win when you having a time limit. Creating back-end probably took me at max 6 hours of work.
For hosting I am using Firebase Hosting which again has a free tier and has one of the best connection latencies (see https://performance.sucuri.net/domain/spxl.me) compared to alternatives (github pages, etc).
One of my goals of building this MVP was to create something quick without focussing and spending to much time on technology which is being used to achieve the goal. As many times I again kind of fell in the same trap of trying to use new technology which is far to complex for the MVP. However I am proud of releasing a simple product in a short time span. I know that I probably just made a bad clone of existing url shorteners which provide pixel tracking abilities however it is still better to create and release something than do nothing. I managed to create full product in just 1 week which can scale well and have very low maintenance cost. Even if I am the only one who is going to use this product for online marketing, it is still far cheaper than having an external service doing it. So for me it is a win win anyway. Feel free to try out my (clone) product: https://spxl.me/l/UN3cK.
Thanks for reading and feel free to ask me any question. I also appreciate suggestions for improvements or other ideas.