Component






cycognito



clojure logo

Topics

  1. Component REPL

  2. start each component separately

  3. Pitfall: start doesn’t modify the object ⇒ it returns a new one

  4. Interact with Mongo from the REPL

  5. Connect to the system

    1. component.repl

    2. scope.api

  6. code auto-reload: vars instead of functions

Homework

Read

Practice

  1. Run the web server locally

  2. Interact with db from the REPL

  3. Open a separate PR for:

    1. Add an endpoint that removes a user

    2. Add a http-kit server that listens to another port