https://github.com/nermalcat69/recipe-astro-drizzle
recipe to deploy astrojs with drizzle ORM and PostgreSQL on zerops.io
https://github.com/nermalcat69/recipe-astro-drizzle
Last synced: 5 months ago
JSON representation
recipe to deploy astrojs with drizzle ORM and PostgreSQL on zerops.io
- Host: GitHub
- URL: https://github.com/nermalcat69/recipe-astro-drizzle
- Owner: nermalcat69
- Created: 2024-11-20T05:03:26.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-11-16T13:25:00.000Z (over 1 year ago)
- Last Synced: 2025-12-23T02:19:15.743Z (6 months ago)
- Size: 59.6 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Zerops x Astro - Drizzle
Astro is a modern web framework for building fast, content-focused websites. [Zerops](https://zerops.io) simplifies deploying and running Astro apps, both server-side rendered and static. This recipe showcases the Drizzle ORM integration with PostgreSQL.
// need zerops + astro picture here

## 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.
[](https://app.zerops.io/recipe/solidjs-nodejs)
## Recipe Features
- Latest Astro version with TypeScript support
- 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 Astro Apps
To efficiently run your existing Astro app on Zerops, no changes are needed in the codebase beyond the standard installation. Simply add [zerops.yml](https://github.com/dinxsh/recipe-astro-drizzle/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.