January 2018
Intermediate to advanced
336 pages
7h 56m
English
The Auth service for Helping Hands can be built using the same pedestal project template as that of other microservices of Helping Hands. In this example, it uses JWE to create JWT tokens for the users. To start with, create a new project with the directory structure as shown in the following example; it contains a new namespace helping-hands.auth.jwt that contains the implementation related to JWT—the rest of the namespaces are used as described in the preceding chapters.
.├── Capstanfile├── config│ ├── conf.edn│ └── logback.xml├── Dockerfile├── project.clj├── README.md├── resources├── src│ ├── clj│ │ └── helping_hands│ │ └── auth│ │ ├── config.clj│ │ ├── core.clj│ │ ├── jwt.clj│ │ ├── persistence.clj ...
Read now
Unlock full access