my-jira-dev-tool
TypeScript icon, indicating that this package has built-in type declarations

3.0.0 • Public • Published

Mock Jira Developer Tool

Install and Use:

npm i my-jira-dev-tool
import { loadDevTools } from "jira-dev-tool";

loadDevTools(() => {
  ReactDOM.render(
    <React.StrictMode>
      <AppProviders>
        <App />
      </AppProviders>
    </React.StrictMode>,
    document.getElementById("root")
  );
});

两大功能介绍

1. Distributed back-end service

Two major problems in the back-end services of traditional teaching projects:

  1. The service is fragile, the number of requests is limited, and it is unstable. If the students are down, they will not be able to use it.
  2. Students have limited control over the back-end database, for example, they cannot easily reset the database

This developer tool uses MSWService Worker as The principle realizes the "distributed backend"

which is:

  1. All requests are proxied by Service Worker rU5enx.png
  2. After the back-end logic is processed, use localStorage as the database to add, delete, modify, and check operations rU558J.png

In this way, an independent back-end service and database are installed on each student’s browser, and it is no longer affected by any centralized service. Click "Empty Database" to reset the back-end service rUIdqx.png

2. Precise control of HTTP requests

The robustness of the project has been ignored by many teaching projects, and as a best practice project, robustness is a point of focus

This developer tool can accurately control the time, failure probability, and failure rules of HTTP requests rUHjc4.png

Readme

Keywords

none

Package Sidebar

Install

npm i my-jira-dev-tool

Weekly Downloads

1

Version

3.0.0

License

MIT

Unpacked Size

6.24 MB

Total Files

25

Last publish

Collaborators

  • uimm258