Build a highly scalable REST API in 100 lines

Posted on Wed 02 December 2020 in programming • Tagged with serverless, javascript

Today I'll be walking through how to build a REST API endpoint with the following features:

  • Automatic TLS/SSL encryption
  • Accessible by both front and back-end applications
  • Horizontally scalable
  • API key validation and limiting
  • Persistent storage
  • Automated deployments

All in about 100 lines of code. It can be a bit …


Continue reading

CascadiaJS 2020

Posted on Fri 04 September 2020 in Programming • Tagged with javascript, conferences

I attended my first JavaScript conference, CascadiaJS, this year. It was an amazing experience and, if given the chance, I will definitely attend the next one. For future reference, here are the speakers and the talks they gave.

Highlights

  • Jim Liu, for volunteering his time to organize, and for gifting …


Continue reading

Write readable code with object destructuring

Posted on Fri 15 November 2019 in programming • Tagged with javascript

When I started writing Python, I quickly fell in love with keyword and keyword-only arguments because I realized they could make my code much more readable and robust. When I started writing Javascript, I was disappointed that there was no such thing. Until I read about object destructuring.

What is …


Continue reading

Embracing Javascript

Posted on Fri 28 June 2019 in programming • Tagged with javascript

I have a confession to make; I don't know javascript all that well. As a developer whose strengths lie primarily in back-end work, I've always held the language at arms' length, relying on it only when absolutely necessary. All that is about to change, because I am finally embracing javascript …


Continue reading