This is a simple Vite application with things like testing, proxying, etc working.
- Install dependencies with
npm i
- Ensure Docker desktop is installed
- Make sure you have a cloud function running and
CLOUD_URL
environment variable pointing at this service.-
This service should provide environment configuration in the form of a JSON object.
{ "auth0": { "domain": "...", "clientId": "...", "audience": "...", "defaultScope": "view:app" } }
-
- Generate the SSL cert and key using the script as
./proxy/gen-key-cert.sh
- Run with
npx vite
- Run with
./run.sh
To configure the cloud endpoint that houses the environment information please change the value in docker-compose.yml
- We need to get ssl working locally so that we can test using auth0