A simple react app with a login/register pages, without backend.
public | ||
src | ||
.gitignore | ||
config.yml | ||
Dockerfile | ||
LICENSE | ||
package.json | ||
README.md | ||
yarn.lock |
keycloak-reg-ui
A very simple React-based self-registration UI. Uses https://git.vdb.to/cerc-io/keycloak-reg-api as the backend.
Building
Local
$ yarn install
# Edit `src/App.js` and `src/components/pages/RegisterPage.js` to set
# `basePath` and `apiUrl` and then run:
$ yarn build
$ serve -s build
Docker
$ docker build -t cerc/keycloak-reg-ui:local .
# Edit config.yml for your API settings and then run:
$ docker run -d -p 3000:80 -v .:/config cerc/keycloak-reg-ui:local