/recipe-nuxt-nodejs

Nuxt Node.js on Zerops

Primary LanguageVue

Zerops x Nuxt - Node.js

Nuxt is an open source Vue framework for building web applications intuitive and powerful. Zerops makes deploying and running Nuxt apps, both server side rendered and static, a breeze. This recipe showcases the Node.js version, see zeropsio/recipe-nuxt-static for the Static version.

nuxt


Deploy on Zerops

You can either click the deploy button to deploy directly on Zerops, or manually copy the import yaml to the import dialog in the Zerops app.


Deploy on Zerops


Recipe features

  • Latest version of Nuxt with SSR running on a Zerops Node.js service.

Production vs. development

This recipe is ready for production as is, and will scale horizontally by adding more containers in case of high traffic surges. If you want to achieve the highest baseline reliability and resiliace, start with at least two containers (add minContainers: 2 in recipe YAML in the app service section, or change the minimum containers in "Automatic Scaling configuration" section of service detail).


Changes made over the default installation

If you want to modify your existing Analog app to efficiently run on Zerops, there are no changes needed in the codebase on top of the standard installation, just add zerops.yml to your repository.


Need help setting your project up? Join Zerops Discord community.