By Thomas M
Founder at UnitHub
I’m building a property management SaaS platform called UnitHub using Next.js, PostgreSQL, and Prisma ORM. We’re currently evaluating DigitalOcean App Platform for deployment.
I have a few questions about best practices:
Database connections: What’s the recommended way to handle PostgreSQL connection pooling with Prisma on App Platform? Should I use PgBouncer or rely on Prisma’s built-in connection management?
Environment variables: Is there a recommended approach for managing secrets and environment variables across staging and production environments on App Platform?
Static assets and file uploads: We handle property images and documents. Should I use DigitalOcean Spaces for object storage, or is there a better approach for handling file uploads in a Next.js app on App Platform?
Auto-scaling: How well does App Platform handle traffic spikes? Our platform sees higher usage during business hours and we want to ensure tenants can always access their dashboards.
Any advice from folks who have deployed similar SaaS applications on DigitalOcean would be greatly appreciated. Thanks!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.