/recipe-solidjs-drizzle

recipe to deploy solidjs with drizzle ORM and PostgreSQL on zerops.io

Primary LanguageTypeScript

Zerops x Solid - Drizzle

Solid is a declarative JavaScript library for creating fast, dynamic web apps. Zerops simplifies deploying and running Solid.js apps, both server-side rendered and static. This recipe showcases the Drizzle ORM integration with PostgreSQL. For the static version, see zeropsio/recipe-solidjs-static.

solid


Deploy on Zerops

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

Deploy on Zerops


Recipe Features

  • Latest Solid version generated with SolidStart
  • Seamless database management using Drizzle ORM with PostgreSQL on Zerops Managed PostgreSQL service
  • Production-ready and scalable out of the box

Production Readiness and Scalability

This recipe is production-ready and will automatically scale horizontally by adding more containers during high traffic surges. For the highest baseline reliability and resilience, start with at least two containers (add minContainers: 2 in the recipe YAML under the app service section, or change the minimum containers in the "Automatic Scaling configuration" section of the service detail).

For advanced and structured logging, consider setting up Winston.


Integrating with Existing Solid Apps

To efficiently run your existing Solid app on Zerops, no changes are needed in the codebase beyond the standard installation. Simply add zerops.yml to your repository.



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