DEV Community

loading...

Discussion on: Announcing the DigitalOcean App Platform Hackathon on DEV!

Collapse
ayanb profile image
Ayan Banerjee

It appears you need two separate apps for the frontend and backend. In that scenario, simply create 2 apps in the app platform.

Thread Thread
anupa profile image
Anup Aglawe

But the straight forward way seems to be just adding a static site component and web service component, and most probably they were meant to be used in that manner. (and not creating separate apps for client and server ).

Also, if I add a http route let's say /api on my web service component. I can access GraphQL endpoints by ${APP_URL}/api/graphql

Thread Thread
ayanb profile image
Ayan Banerjee

Yes, thanks. That seems to be a much cleaner way!