It assumes there is a
build/directory at the root of your react project directory, it's usually generated after running
build/directory is expected to contain an
index.htmlfile and a
Keycloakify also assumes there is a public/ directory at the root of your react project that is used to make static files available.
Concretely Keycloakify assumes that if there is a
public/a/b.c/foo.txtfile. This file should be available at
https://localhost:<some_port>/a/b/c.foo.txtwhen running your app in test mode (usually by firing yarn start).
Currently Keycloakify is only compatible with SPA React apps. It doesn’t mean that you can't use Keycloakify if you are using Next.js, Express or any other framework that involves a server but your Keycloak theme will need to be a standalone project. Find specific instructions about how to get started here.