Which do you guys think is better for hosting my api and frontend? 1. Serving both the client and backend from the same server. Client will be on sub.mydomain.tld and api will have routes at sub.mydomain.tld/api. 2. Client and backend served on separate places. Client uses sub.mydomain.tld/ and backend uses api.sub.mydomain.tld/ 3. Something else
From a pure simplicity standpoint, serving them on the same domain is going to be less annoying.