mirror of
https://github.com/teamhanko/hanko.git
synced 2025-11-02 14:57:11 +08:00
Hanko Fresh example
This is a Fresh project.
Starting the app
Prerequisites
- a running Hanko API (see the instructions on how to run the API in Docker or from Source)
- a
Denoinstallation
Set up environment variables
In the .env file set up the correct environment variables:
HANKO_API_URL: this is the URL of the Hanko API (default:http://localhost:8000)
In the config.ts file set up the HANKO_API_URL variable too. It's used in islands.
Run development server
Run deno task start for a development server. Navigate to http://localhost:8000/. This will watch the project directory and restart as necessary.