vscode-pont

pont means bridge in French, and it's the bridge of backend and frontend! pont

Usage no npm install needed!

<script type="module">
  import vscodePont from 'https://cdn.skypack.dev/vscode-pont';
</script>

README

pont

pont means bridge in French, and it's the bridge of backend and frontend! pont

Version Installs Ratings

setup

Create a JSON file named pont-config.json in anywhere of your project. Once you create or change the file, vscode-pont will detect and start the extension process!

The configuration details in pont-config.json, please infer pont

terms definition

mod

Interfaces are divided into multiple modules.

bo

The entity class in backend, Like Employee态Department.

usage

The backend will always change the interface params, url path, or response detail etc.. vscode-pont will detect and analysis the changed details. You can choose the interface to update.

Once you create a valid file named pont-config.json, the status bar will show buttons as below:

sync

Fetch the interafces info, recalculate the diffs between local and newest in mod and bo.

all

Make all bos and mods be the same as your last sync.

mod

Select some mods to be the same as your last sync.

If you click mod(num), extension will show the mod diffs detail as below:

Select a mod you want to update.

bo

Select some bos to be the same as your last sync.

If you click mod(num), extension will show the mod diffs detail as below:

Select a bo you want to update.

generate

Generate the frontend code by the upgraded mods and bos.