Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dinxsh/recipe-solidjs-drizzle

recipe to deploy solidjs with drizzle ORM and PostgreSQL on zerops.io
https://github.com/dinxsh/recipe-solidjs-drizzle

Last synced: 28 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# Zerops x Solid - Drizzle

Solid is a declarative JavaScript library for creating fast, dynamic web apps. [Zerops](https://zerops.io) 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](https://github.com/zeropsio/recipe-solidjs-static).

![solid](https://github.com/zeropsio/recipe-shared-assets/blob/main/covers/svg/cover-solid.svg)


## Deploy on Zerops

To deploy directly on Zerops, you can either click the deploy button below or manually copy the [import yaml](https://github.com/zeropsio/recipe-solidjs-nodejs/blob/main/zerops-project-import.yml) to the import dialog in the Zerops app.

[![Deploy on Zerops](https://github.com/zeropsio/recipe-shared-assets/blob/main/deploy-button/green/deploy-button.svg)](https://app.zerops.io/recipe/solidjs-nodejs)


## Recipe Features

- Latest Solid version generated with [SolidStart](https://start.solidjs.com/)
- Seamless database management using [Drizzle ORM](https://orm.drizzle.team/) 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](https://github.com/winstonjs/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](https://github.com/zeropsio/recipe-solidjs-nodejs/blob/main/zerops.yml) to your repository.




Need help setting up your project? Join the [Zerops Discord community](https://discord.com/invite/WDvCZ54) for assistance.