Word Counter
My experience building a word counter website
From the Beginning
The backstory behind why I built Use Count Me is already covered on this page, so I'll get straight to the point: code development was actually the easiest part. Once I launched it online, it was nonstop headaches. Right when I thought everything was finished and I could finally chill, a brand-new issue would pop up. It's tough!
Search Console
To show up on Google, you have to submit your site to Google Search Console so its pages can get indexed. For that to happen smoothly, you need proper sitemap.xml and robots.txt files. The robots file tells Googlebot what it can crawl, while the sitemap lists all valid routes. When I submitted my site, Search Console couldn't find the sitemap, so I had to rebuild it. On top of that, I had to resize my favicon to 512x512 so Google search results would display the icon properly.
Hosting
My next big mess was hosting. Originally, I deployed Use Count Me on Vercel using their free Hobby plan. I assumed it was free based on low traffic volume, but in reality, that tier is strictly for non-commercial projects. I actually went and read the Terms of Service (who would've thought?), only to discover Vercel could take down my site anytime without notice. To avoid having my site pulled once ads were running, I migrated everything to a Hostinger VPS I already had. That meant setting up Docker, Nginx, and converting the app to static exports so it runs super light. I also had to tweak the middleware: prior to v1.1.8, the site detected the user's browser language and redirected to /pt, /en, or /es. Now, it skips detection and defaults everyone straight to /en.
AdSense
When I submitted the site to Google AdSense, I definitely didn't expect to wait a full week for a review—I figured it'd take two or three days tops. The answer? Rejected! It got turned down for lack of content. So I am literally writing this article and this other page right now just to re-apply and pass the AdSense check.
Was It Worth It?
Without a doubt, 100% worth it! I made plenty of mistakes during development—after all, this is only my second production project. I messed up component organization in React (where UI elements are supposed to be modular, Lego-like components). I didn't make reusable components for my header, footer, or navbar... so yeah, I am literally copy-pasting the same code blocks into every single new page I build! Why haven't I fixed it? Pure laziness! I'd have to refactor the HTML and CSS across all existing pages. Another mistake was hosting on Vercel thinking commercial use was free—there's no such thing as a free lunch. But every mistake I made, whether in code or deployment, is a huge lesson for my upcoming projects. Building Use Count Me was super fun, and if you made it this far into my rambling, I'm genuinely impressed! With that said... on to the next project!
Thank you for using the tool! If you have suggestions or feedback, feel free to reach out.