mirror of
https://github.com/teamhanko/hanko.git
synced 2025-10-27 14:17:56 +08:00
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.10.0 to 6.14.2. - [Release notes](https://github.com/remix-run/react-router/releases) - [Changelog](https://github.com/remix-run/react-router/blob/react-router-dom@6.14.2/packages/react-router-dom/CHANGELOG.md) - [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.14.2/packages/react-router-dom) --- updated-dependencies: - dependency-name: react-router-dom 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 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 theserver.public.addressoption in the configuration file)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.