This repository contains:
- a locally-hosted FusionAuth authorization server that runs in a container group
- frontend React code for each step of the quickstart
For full instructions, see the FusionAuth React Quickstart.
- Node.js v22+
- Docker v23+
- On macOS and Windows, one of the following container management tools:
- OrbStack (run
docker context use orbstackafter installation to use Orbstack fordocker composecommands) - Podman (in the commands below, replace
dockerwithpodman) - Docker desktop
- OrbStack (run
To install and run FusionAuth locally:
- Navigate to the
fusionauth-backenddirectory. - Run the following Docker compose command:
docker compose up -d - Once the compose process completes, you should see the
fusionauth-backendcontainer group in your container management tool. This group contains containers calledfusionauth,db, andsearch. To access FusionAuth, visit http://localhost:9011/admin. - You can access your FusionAuth admin dashboard with the username
admin@example.comand the passwordpassword.
To run any step of the quickstart:
- Navigate into the
react-frontend-steps/<name-of-step>folder. - Run the following command to install dependencies:
npm install - Run the following command to start the app:
npm run dev - To use the React app, visit the URL displayed in your terminal.