Files
Frederic Jahn b469e97a00 chore: update versions to 1.3.0 (#1998)
* chore: update versions to 1.3.0

* chore: update elements dependency
2024-12-11 14:05:31 +01:00
..
2023-03-03 14:11:13 +01:00
2023-03-03 14:11:13 +01:00
2023-03-03 14:11:13 +01:00
2023-03-03 14:11:13 +01:00
2024-08-07 11:55:23 +02:00

Hanko React example

This is a React project bootstrapped with Create React App.

Starting the app

Prerequisites

  • a running Hanko API (see the instructions on how to run the API in Docker or from Source)
  • a running express backend (see the README for the express backend)

Set up environment variables

In the .env file set up the correct environment variables:

  • REACT_APP_HANKO_API: this is the URL of the Hanko API (default: http://localhost:8000, can be customized using the server.public.address option in the backend configuration)
  • REACT_APP_TODO_API: this is the URL of the express backend (default: http://localhost:8002)

Run development server

Run npm install to install dependencies, then run npm run start for a development server. Navigate to http://localhost:3000/. The application will automatically reload if you change any of the source files.