Let's JAMstack.

Written by - Saumya

30 January 2020

First project of 2020. A conversion of a portal from LAMP (Linux-Apache-MySQL-PHP) stack to JAM stack.

I have been doing static site development for a long time (this blog itself is an example), however the complexities of the project was a little more complex than this blog.

The project was not very complex in terms of the content and application. The only trick is to get the content from database to the Markdown and deploy it to the server. Once this is done, the whole project is just about moving the deployment from a full stack web server to a static site web server.

The code is committed to a GIT repository. Next is to configure a Continous Integration engine for Continuous Deployment. Once this is done, all that is left is commit my content and code to the repository.

The frontend is developed with React JS and built with serverless architecture. The blog engine is done with Hugo and Markdown. Made the APIs with Express and datastorage is done with a cloud storage service. The authentication is done with one from the many authentication services available to use. And we have a running JAMStack application.

There could be serverless functions used, however for the time being it is not. I am happy to see that I could do it. The whole process took me arround 45 days.

Happy JAMStack-ing.