Task A: Account Registration

User registration and authentication represent a self-contained workflow that is independent from the rest of our application’s functionality. Each workflow in our application consists of complimentary client and server components. The server part is responsible for handling the business logic and providing an API for the client. The client side is responsible for managing the UI and the client application state.

Before we continue, we need to understand the workflow involved in user registration. The user has to enter some identifying information in a form and send that information to the server. The server routes this information to a handler function that decides whether a user account should be created based ...

Get Web Development with Clojure, 2nd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.