Skip to content

zilloy/azure-service-bus-explorer

Repository files navigation

Azure Service Bus Explorer

This project was generated with Angular CLI version 10.0.1.

Getting Started

Dev Container

This project contains a dev container which can be used when developing. Read more here. Usage of this is optional. To use the dev container, open the repo in VS Code and follow the prompt to build and open in the container. The dev container is based on the standard node 14 + typescript image, with the angular CLI installed.

Configuration

MSAL is used for authentication to Azure AD. To get running, create a new App Registration in AAD, with the following settings:

  • Authentication:
    • Single-page application
      • Redirect URIs: http://localhost:4200
    • Implicit Grant:
      • Access tokens
      • ID tokens
  • Leave the rest of the settings as default

Create a copy of src/environments/environment.ts and call it environment.local.ts. Add the App ID from the app you just created here:

...
auth: {
    clientId: 'app-id-here'
}
...

NOTE: The app will request permissions from AAD the first time it runs, and will require admin consent for some of them. For this reason you will need to be able to act as an AAD administrator.

Run the app in the dev server

  • Run npm install
  • Run ng serve to start the dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published