Skip to content

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

License

Notifications You must be signed in to change notification settings

MaxxtonGroup/app-dashboard

 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 67.5%
  • CSS 18.7%
  • HTML 7.7%
  • JavaScript 5.2%
  • Dockerfile 0.9%