- [X] Simple HTTP service: ring handlers, libraries
- [X] What is a request? What is a response?
- [X] Routing
- [X] Middlewares
- [X] A toy problem: Guess what number I’m thinking?
- [X] Sending HTTP requests
- Read Hypertext_Transfer_Protocol, in particular the section on Message Format
- Read through https://www.restapitutorial.com/ and the example session.
- Read https://github.com/ring-clojure/ring/wiki/Concepts
- Read https://github.com/weavejester/compojure/wiki/Routes-In-Detail
- checkout this repo: https://github.com/privisi/clojure-training-2024-simple-server-playground and run it in your IDE, then visit http://localhost:3001
- points?
- The Ring model
- building a simple app.
- compojure and middleware
- Idempotent functions, request methods, caching
- Where’s the state?
- starting-point
- request-methods
- manual-dispatching
- compojure-routing
- http-ring-responses
- destructuring-routes
- understanding-middlewares
- using-middleware-and-destructured-routes
- separation-of-concerns