serverless-stack-demo-ext-api
serverless-stack-demo-ext-api copied to clipboard
FrontEnd Service
Hi, this is more an idea or proposal than an issue.
I would be really great if there would be also one service with serverless.yml for frontend (for example react).
Hmm do you mean adding the frontend service in the same repo? Usually we split these up: https://github.com/AnomalyInnovations/serverless-stack-demo-client
Are you putting them together?
Yes I have whole stack in one repo. Why are you splitting UI in separate repository if it belongs to the same project? Basically I use very same structure as you except one of my service is UI where I hold react project and serverless.yml for its deployment and configuration via serverless. I see in this repository there is some configuration for netlify not serverless with aws.
Anyway its nice example, so thank you. This was just my proposal you can of course ignore it if you consider it as not valid.
In this case you are using Serverless to deploy it but in the guide we use Netlify for it. We also prefer keeping it separate because for most teams the frontend is worked on completely separately from the backend teams.