Sign inSign up

steven166/app-dashboard

By steven166

•Updated almost 2 years ago

App Dashboard can be used as a landing-page for multiple applications

Image
0

628

steven166/app-dashboard repository overview

⁠AppDashboard

App Dashboard can be used as a landing-page for multiple applications, it is protected by OAuth2 authentication and can be configured through yaml files.

⁠Usage

docker run -p 8080:8080 -v config.yml:/usr/share/nginx/html/assets/config/config.yml -v apps.yml:/usr/share/nginx/html/assets/config/apps.yml steven166/app-dashboard

⁠Configure

/usr/share/nginx/html/assets/config/config.yml

oauthProvider: Auth0 / Google / none
auth0:
  clientID: <OAUTH_CLIENT_ID>
  domain: example.com
  responseType: 'token id_token'
  redirectUri: '/callback'
  scope: 'openid read:clients profile email'
google:
  clientId: <OAUTH_CLIENT_ID>
  clientSecret: <OAUTH_CLIENT_SECRET>
  scope: email
  hosted_domain: example.com
homeUrl: example.com
logo: https://static.example.com/logo.png
darkLogo: https://static.example.com/logo.png
favicon: https://static.example.com/fav.ico
title: My Dashboard

/usr/share/nginx/html/assets/config/apps.yml

<team>:
  <section>:
    <application>:
      description: <descripition>
      color: <color_name>
      image: <image_link>
      url: <target_url>

⁠Production build

docker build -t app-dashboard .

⁠Development server

Run ng serve for a 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⁠.

#License MIT

Tag summary

Content type

Image

Digest

sha256:1bd3f5b54…

Size

10.4 MB

Last updated

about 4 years ago

docker pull steven166/app-dashboard