Files
dependabot[bot] 35d1e91273 chore(deps): bump express from 4.19.2 to 4.21.1 in /frontend
Bumps [express](https://github.com/expressjs/express) from 4.19.2 to 4.21.1.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.1/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.19.2...4.21.1)

---
updated-dependencies:
- dependency-name: express
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-07 18:52:00 +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 Express Example

This directory contains an express application that serves as the backend for the example frontend applications contained in the examples directory. It is a simple API for creating, listing and updating "todos".

Starting the app

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, can be customized using the server.public.address option in the backend configuration)

Run the server

Run npm install to install dependencies, then run npm run start. The API will be available on http://localhost:8002/.