by unwind · 4y ago · 0 comments
If I have a "static" site, then I can't have any backend code that talks to the database, is that it? So the actual web pages can't use client-side Javascript to customize page content by talking to a backend, that talks to a database?
As an example, I am currently hosting four sites on Render.
Two are Rails sites with databases, Redis, BG workers, etc. I pay a decent amount for those, albeit quite a bit less than Heroku.
Meanwhile, two others are static sites generated with Jekyll(?) that are pure content and require no DB. I add new content locally, push to GitHub, and deploy to Render automatically through a GH action. I pay $0/month for these two sites.
Hope that helps