Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted about 2 years ago

Tailwind, Scala SSR, Scalatags & Cask, deployed with docker image

vite
efim•390
@efim
A solution to the Single price grid component challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


First step towards learning HTMX - backend rendering empowered with partial page updates with minimal JS Selected this exercise to first do a static page, to try out server setup, page generation, deployment.

The project is a server, which serves HTML pages. So it's a runnable program which i need to host somewhere. Prevoius "frontend only tasks" I hosted on CloudFlare pages, because it was easy to compile ScalaJS into static site and serve the files. Here i'm deploying to render.com, because they provide a free tier for services deployed via docker image. The free tier shuts down the service after 15 minutes of inactivity, so please give it a moment to spin up if it takes time to load.

It was a bit hard to finish up the nix packaging, even though it wasn't at all my first interaction. I've also struggled a bit with Scalatags, and cask webserver.

On next exercise I'll try Thymeleaf templates. And then try to move into HTMX interactivity.

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on efim's solution.

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License