Files
2023-06-21 15:37:05 +01:00
..
2023-06-21 15:37:05 +01:00
2023-06-21 15:37:05 +01:00
2023-06-18 23:45:00 +01:00
2023-06-21 15:37:05 +01:00
2023-06-21 15:37:05 +01:00
2023-06-18 23:45:00 +01:00
2023-06-14 23:07:39 +01:00
2023-06-18 23:45:00 +01:00
2023-06-14 23:07:39 +01:00
2023-06-21 15:37:05 +01:00
2023-06-18 23:45:00 +01: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 Deno installation

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.