This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-12-25
Channels
Hello, I would like to start learning about microservices. I'm wondering if there's any working template project available to get started, specifically, one for microservices using Clojure and Ring. I want to understand the basics and see how it works.
"Microservice" is a technology-neutral architectural pattern for systems. A "project template" doesn't really make sense. I don't understand what you are asking for here...
I mean a basic application used Ring to build microservices. The application 2-3 frontend pages with some buttons. I'm eager to explore and understand the usage of microservices in this context and experiment with them. I haven't worked extensively with microservices before, and now, as I delve into Clojure, I need to learn backend development as well. Hence, I'm looking for a starting point. I hope I can explained myself, I am not an experienced developer.
If you're building microservices, pretty much everything is going to be an API on the backend so compojure-api
or reitit
might be good places to start. Ring is pretty much a given for all web-related projects in Clojure (although with some choices, Ring is brought in as a transitive dependency so you don't even need to think about it).
That said, if you're new to backend development, working through the Ring docs/tutorials and then maybe the Compojure docs/tutorials to get a feel for how handlers and middleware work would be a good thing to begin with.
But you can learn about microservices as an architectural approach independent of the language -- they seem orthogonal concerns to me.