Skip to main content

2 posts tagged with "javascript"

View All Tags

· 7 min read
Nick Gabe

Why should I use Netlify Functions?

Netlify is a website hosting service, but it only hosts our front-end, while our back-end must be hosted anywhere else. And that usually is what you do, but if I'm just planning to build a small project that would be like filling a cup of water with an ocean, there is no need for that.

Netlify Functions comes to solve this problem, you can keep your back and front-end together by using Functions that can be called just like a back-end api. And it makes the code easier to edit since it's all in one folder.

· 6 min read
Nick Gabe

Hello! Have you ever thought what it would be like to be able to dynamically generate a README for that GitHub project of yours?

I already have, but I never thought about how it would work... until I researched if it was possible and ended up surprising myself.

After some research I discovered a GitHub feature called "GitHub Actions", and it can execute a code that you specify, in several situations such as: after a push, pull-request, and even at a specified interval. This was exactly what I needed, and with this feature in hand I started to write my JavaScri- wait...

...Since this is a guide, I better document how I did it and how you can also make it and use it in as many ways as you like. So let's start at the beginning: