openfun / jitsi-magnify

An authentication and room management system for Jitsi built with Django/React
MIT License
23 stars 6 forks source link

Create an abstraction for calling the api #19

Closed Leonils closed 2 years ago

Leonils commented 2 years ago

Purpose

The goal of this PR is to introduce tools to make api calls from the components, in a way that can easily be overriden by the developers using the lib, by using a dependency injection patern

Proposal

This PR introduce following components

And demonstrate how to use them in component TestButton and its tests

Leonils commented 2 years ago

Should fix issue #18