Skip to content

governify/TPA-Manager

 
 

Repository files navigation

TPA Manager Extension

This project is an extension and improvement of the original TPA Manager, initially designed for creating TPAs.

The TPA Manager is a web application that enables users to efficiently manage their scope, including courses, Team Practices Agreements (TPAs), and TPA templates. Developed with Vue.js 3, Vite, and PrimeVue, it provides a streamlined interface for navigating and organizing these elements.

Table of contents

Project setup

npm install

Compiles and hot-reloads for development

npm run dev

Compiles and minifies for production

npm run build

Documentation

Vue.js 3

The documentation for Vue.js 3 can be found under the following link.

Vite

The documentation for Vite can be found under the following link.

PrimeVue

The documentation for PrimeVue can be found under the following link.

SimpleCodeEditor

The Code Editor component used for editing JSON, JavaScript and GraphQL is SimpleCodeEditor and its documentation can be found under the following link.

Governify specific configuration

This application has been developed to be used within the Governify framework. In order to do so, some Governify-specific tool like Bluejay must be deployed in the same server as the TPA Manager.

The following table shows the tools that must be deployed and the corresponding environment variables that must be set in the TPA Manager.

Tool Environment variable Default value Example value
TPA Manager - http://localhost:5173 https://tpa-manager.bluejay.governify.io
ASSETS_MANAGER_URL process.env.ASSETS_MANAGER_URL http://localhost:5200 https://assets.bluejay.governify.io/
REGISTRY_URL process.env.REGISTRY_URL http://localhost:5400 https://registry.bluejay.governify.io/
SCOPE_MANAGER_URL process.env.SCOPE_MANAGER_URL http://localhost:5700 https://scopes.bluejay.governify.io
COLLECTOR_EVENTS_URL process.env.COLLECTOR_EVENTS_URL http://localhost:5500 https://event-collector.bluejay.governify.io/
DASHBOARD_URL process.env.DASHBOARD_URL http://localhost:5600 https://dashboard.bluejay.governify.io/
REPORTER_URL process.env.REPORTER_URL http://localhost:5300 https://reporter.bluejay.governify.io/

To set the environment variables:

  1. Create a .env file in the root directory of the project and set the variables there. The file should look like this (the values are just examples):
ASSETS_MANAGER_URL=https://assets.bluejay.governify.io/
REGISTRY_URL=https://registry.bluejay.governify.io/
SCOPE_MANAGER_URL=https://scopes.bluejay.governify.io
COLLECTOR_EVENTS_URL=https://event-collector.bluejay.governify.io/
DASHBOARD_URL=https://dashboard.bluejay.governify.io/
REPORTER_URL=https://reporter.bluejay.governify.io/

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details.

Badges

DeepScan grade

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CSS 44.9%
  • Vue 42.7%
  • JavaScript 7.9%
  • SCSS 4.3%
  • Other 0.2%