An open API service indexing awesome lists of open source software.

https://github.com/ncarlier/keycloak-todomvc

A demonstration of using Keycloak with a Todo application.
https://github.com/ncarlier/keycloak-todomvc

Last synced: 5 months ago
JSON representation

A demonstration of using Keycloak with a Todo application.

Awesome Lists containing this project

README

          

# Todo MVC sample using Keycloak

> It is a demonstration of using Keycloak inside a Todo application.

### Prerequisites

- Docker
- Docker Compose
- Make

Add `devbox` hostname into your `/etc/hosts`:

```
127.0.1.1 devbox
```

## Build

Build Docker images:

```bash
$ make build
```

## Deploy

Deploy the complete setup on a Docker host.

```bash
$ make deploy
```

The setup:

- A Keycloak service. This container is auto configured by another container.
The configuration creates a client and public key used by the API container.
- An API service. This container uses the configuration generated by the
Keycloak container.
- An App service. This container uses the configuration generated by the
Keycloak container.

## UnDeploy

Undeploy the setup is as simple:

```bash
$ make undeploy
```