DEV Community

Discussion on: Azure Static Web Apps are Awesome

Collapse
 
jedjohan profile image
Johan Eriksson

Good article, thanks ! Question though: I´m a fan of multirepos. I normally place frontend in one repo, and each micro service (API) in separate repos. Makes the CI/CD easier and the structure nicer. But this looks like one big pile of code, is it possible to separate frontend/api ?

Collapse
 
david_whitney profile image
David Whitney

This kind of API would more be for your "backend for frontend" - I'd suggest that you put any actual microservices in Azure Web Apps, or Azure Functions apps, and called them by Url as usual.

Collapse
 
jedjohan profile image
Johan Eriksson

Thanks, and agree, seems like a good solution. Even though I cant vision what I would put in the "BFF". Sounds more like som helper/utility-stuff. Hmmm.

Thread Thread
 
david_whitney profile image
David Whitney

Think of a BFF as the "backend logic" of a traditional web application :)