/fabXdashboard

fabX frontend

Primary LanguageTypeScriptGNU General Public License v3.0GPL-3.0

fabXdashboard

A web frontend written using AngularJS for fabXaccess.

Screenshots

User Management

Users List

List of all users including badges for each qualifications they have. Clicking on the user's row, their details are revealed.

Users Details

User details. Ticking/Un-Ticking a qualifications adds/removes the qualification for the user.

User Edit

Editing a user's details.

Devices

Devices List

List of all devices. Clicking on the device's row, reveals the details and allows for editing.

Tools

Tools List

List of all tools.

Tools Details

Tool details.

Tools Create

Creating a new tool.

Qualifications

Qualifications List

List of qualifications.

Qualification Details

Qualification details.

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.

Deploy with Netlify

  • Fork this repository
  • Adapt the baseUrl in src/environments/environment.prod.ts to the URL of your deployment of fabXaccess
  • Login to Netlify (e.g. with Github)
  • Create a new site from Git
  • Authorize Netlify for Github
  • Select your forked fabXdashboard repository
  • Setup master/main branch for deployment
    • replace the build command with ng build --configuration=production
    • replace the publish directory with dist/fabx-dashboard
  • Under the Site settings tab, the site name can be changed
  • The site can be accessed under https://[sitename].netlify.app

Netlify deployment is done.