Component REPL
start each component separately
Pitfall: start doesn’t modify the object ⇒ it returns a new one
Interact with Mongo from the REPL
Connect to the system
component.repl
scope.api
code auto-reload: vars instead of functions
The code is here: A basic Clojure web server built with component
Run the web server locally
Interact with db from the REPL
Open a separate PR for:
Add an endpoint that removes a user
Add a http-kit server that listens to another port