Skip to content

Latest commit

 

History

61 Commits

Folders and files

Repository files navigation

FusionAuth QuickStart: Angular SPA

Warning

This repository is generated from content that lives at github.com/FusionAuth/fusionauth-site. Changes to files here will be overwritten by that automation. File an issue or pull request with fusionauth-site instead.

This repository contains:

  • a locally-hosted FusionAuth authorization server that runs in a container group
  • frontend Angular code for each step of the QuickStart

For full instructions, see the FusionAuth Angular QuickStart.

Dependencies

  • Node.js v22.22.3+ or v24.15+
  • Docker v23+
  • On macOS and Windows, one of the following container management tools:
    • OrbStack (run docker context use orbstack after installation to use OrbStack for docker compose commands)
    • Podman (in the commands below, replace docker with podman)
    • Docker Desktop

Install and Start FusionAuth

To install and run FusionAuth locally:

  1. Navigate to the backend_fusionauth directory.
  2. Run the following Docker Compose command:
    docker compose up -d
    
  3. Once Docker Compose completes startup, you should see the backend_fusionauth container group in your container management tool. This group contains containers called fusionauth and db. To access FusionAuth, visit http://localhost:9011/admin.
  4. You can access your FusionAuth admin dashboard with the username admin@example.com and the password password.

Set Up the Angular App

To run any step of the QuickStart:

  1. Navigate into a frontend_steps folder, such as frontend_steps/3_user_notes.
  2. Run the following command to install dependencies:
    npm install
    
  3. Run the following command to start the app:
    npx @angular/cli@22.2.6 serve --host=0.0.0.0 --port=3000
    
  4. To use the app, visit http://localhost:3000.

Releases

Packages

Used by

Contributors

Languages