Report this

What is the reason for this report?

How do you structure your projects for App Platform deployments?

Posted on June 17, 2025

Hey everyone

I’ve been using App Platform to deploy a few apps, and I’m curious how others are organizing their projects for smooth deploys.

Do you keep frontend and backend in one repo? Separate them? How do you handle shared env vars, secrets, or config files?

Would love to hear how others are doing it, especially for multi-service apps.



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!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hey!

For my projects, I usually keep frontend and backend in separate repos. Makes it easier to manage deployments and use separate build/run commands in App Platform.

For shared config, I use environment variables at the component level and make sure secrets are injected through the UI or doctl.

I’ve also started using the app.yaml spec file to version control everything, which helps a lot: https://docs.digitalocean.com/products/app-platform/reference/app-spec/

Curious what others are doing!

- Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.