Giter Club home page Giter Club logo

plugin-seatmap's Introduction

Plugin-Template

Repository configuration

A git submodule is used to reference projects from the main core repository.

To initialize the core submodule, use the following command after cloning this repository:

git submodule update --init --recursive

Pre-commit hooks

This repository uses pre-commit to run a set of checks before committing changes.

For further information on how to run pre-commit and the checks performed refer to the the core readme.

Development

Develop your plugin in the CorePlugin.Plugin project. You can then start the CorePlugin.BackendDevServer to run your plugin.

โš  You should not change the CorePlugin.BackendDevServer as it already calls the configure methods of your plugin and is only used in development thus it will not be included in the deployment of your plugin.

Plugin-Interface

Plugins need to implement the ICorePlugin Interface of the core project in order to be loaded by the backend. WIth this interface you can implement the two methods Configure and ConfigureServices.

Configure - Using this method you can register your controllers. You are given the app object to configure the app's request handling pipeline and their middleware components.

ConfigureServices - Using this method you can register your classes for dependency injection. You are given the builder object of the backend to add new services.

Frontend

frontend contains an empty angular project with tailwindcss already configured.

Calling secure-backend APIs

Use the method sendRequest of the api-connector lib to call any method on the secure-backend which is permitted for your plugin in the mainframe-config.

There should be utility services for all APIs in the plugin-template (WIP at the time of writing).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.