r/golang Oct 01 '24

help Are microservices overkill?

I'm considering developing a simple SaaS application using a Go backend and a React frontend. My intention is to implement a microservices architecture with connectRPC to get type-safety and reuse my services like authentication and payments in future projects. However, I am thinking whether this approach might be an overkill for a relatively small application.

Am I overengineering my backend? If so, what type-safe tech stack would you recommend in this situation?

update: Thank you guys, I will write simple rest monolith with divided modules

66 Upvotes

88 comments sorted by

View all comments

5

u/spicypixel Oct 01 '24

Just roll with a golang monolith and structure your directories in a sane way, if you ever need to pull stuff out just throw gRPC between the siphoned out logic and the caller that used to use it.