Posts List

Lambda function to generate sitemap from mysql

This is a simple example of how you can use nodejs to generate a sitemap for your Angular application. Since Google can now index Angular application a sitemap helps the crawlers to find all your pages. I wanted to connect directly to our database to generate urls for dynamic pages. This was easily setup using our existing VPC and running the function inside of the VPC.

How I build this website

How I build this website

This post outlines how I initially built this website, using a couple of services and open source projects, all in the cloud and (almost) completely for “free” (excluding the domain name (you could use github pages for free) and provided you stay in the free tier).