mirror of
https://github.com/teamhanko/hanko.git
synced 2025-11-02 06:37:32 +08:00
Bumps [jwks-rsa](https://github.com/auth0/node-jwks-rsa) from 3.0.1 to 3.1.0. - [Release notes](https://github.com/auth0/node-jwks-rsa/releases) - [Changelog](https://github.com/auth0/node-jwks-rsa/blob/master/CHANGELOG.md) - [Commits](https://github.com/auth0/node-jwks-rsa/compare/v3.0.1...v3.1.0) --- updated-dependencies: - dependency-name: jwks-rsa dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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 theserver.public.addressoption in the configuration file)
Run the server
Run npm install to install dependencies, then run npm run start. The API will be available on http://localhost:8002/.