Can you help us with some articles to deploy both frontend and backend(serverless) functions in monorepo setup as given in the first screenshot of the question.
Since your server has Netlify Functions, I assume you want to use Netlify Functions as your “server”. Are you also planning to host the frontend on Netlify?
Then I don’t think you need a monorepo or the server directory at all. You can put all your client stuff in the root of the repo and Netlify Functions in the netlify/functions folder, something like:
We are exporting a existing express app to serverless function. So we have kept the it light this, and monorepo setup is the requriement so that frontend and backend can be managed easily, as it contains a lot of file.