Julián Benegas

La Derecha Diario


A digital newspaper that doesn't compromise on Truth.

Dark Mode: ☑️

La Derecha Diario is a right wing, Argentinian, news site, that started out as a Twitter account and quickly gained thousands of followers.

Their Story

Argentina is in a bad situation. Economically, politically, socially. It has been this way (getting better sporadically, getting worse most of the time) for almost 100 years. With the rise of social media platforms, mainly Twitter, came the rise of more independant voices sharing their thoughts in the political scenario. This was huge.

Juan Doe is one of those voices. He's gained quite a following these past years for his straight and blunt opinions, for his clarity and wit.

Being quite frustrated with the current media voices and seeing the need people had for someone that told the truth, he and his tight-knit team started a new project: La Derecha Diario. In just a couple of months they've been able to grow their Twitter following to 45k +.

It was an absolute pleasure to work with these guys. The service they are doing for Argentina is amazing. Let's get to the dev stuff though.

Our Work

I reached out to him via Twitter DM, offering my services. I had just finished a project and was quite exited by what they were doing. After some talk, I joined the team.

Sign in / sign up is a modal. Who wants to go to another page to sign in?

I iterated the design in Figma for a couple of weeks before writing any code. The first part was slow (mainly because it was right between holidays!), but then we moved fast. I worked alongside another developer and we wrote the initial code in ~ a month.

The current stack is:

And we are quite happy with it.

The Toughest Parts

I'd say the toughtest part was writing all the admin parts of the site (like what the admins can see, how the editors create an article, how the front page is managed...). There were various levels of user privileges, tables, actions, filters. Boring stuff that had to be dealt with delicately.

Custom table component (that I'll reuse everywhere cause it was lots of work)

Another challenge was creating the data structure. We used Firebase's Firestore. I don't have trouble with it being no-SQL because I never really worked a lot with an SQL database, but the challenge was keeping it cheap.

FB charges you by document read (and other stuff also, but reads are the most used action on a news site), so we had to make sure that users could get by reading the least amount of documents possible. That meant duplicating data through our Firestore and that was perfectly fine. Our Firestore usage is currently quite low for the amount of users we are serving, so that's neat.

What I Learned

Huh. I learned a bunch in this project. I'd only made a couple of little projects before this, so it was the first big one.

I learned:

  • Firebase more deeply: Storage, functions, cron jobs...
  • React Context API
  • Open Graph Protocol
  • Deeper understanding of SSR (server-side rendering) vs SSG (static-site generation). SSR was needed for this, because content is highly dynamic and real-time (can't build on every article crud). What abot CSR (client side rendering)? Awful for SEO.
  • Zeit SPR. Amazing technology.
  • Open Weather Map API. Super easy and free.
  • Keyboard shortcuts with Mousetrap. This was fun!
  • ...and so much more!

Juan and his team trusted us with this project, and we are quite happy with the result. Readers are happy also, so that's good.