Crates.io | backpub |
lib.rs | backpub |
version | 0.1.1 |
source | src |
created_at | 2021-12-24 05:36:31.974309 |
updated_at | 2021-12-24 17:46:08.929476 |
description | Publish your backend documentation from a Postman Collection as a static website with an interactive API |
homepage | |
repository | |
max_upload_size | |
id | 502555 |
size | 57,769 |
Currently in experimentation phase
Publish your backend documentation from a Postman Collection as a static website with an interactive API.
Uses Svelte, TailwindCSS and Vite to generate the website and allow for hot reloading, folders and requests have classes applied to them, and the styling is controlled for the classes via Tailwind directives in the app.css file.
config.yaml
at the root of this repo can be changed to allow retrieval of remote Postman collections via the Postman API e.g.
Get your collection ID by clicking the three dots next to its name and clicking settings
collection_from_api: true
postman_api_key: "XXXXX-XXXXX-XXXXX-XXXX"
collection_id: "XXXXXXX-XXXXXXXXX-XXXXXXXXX-XXXXXX"
You can override the base config.yaml
by putting a new file in your config folder:
$XDG_CONFIG_HOME/backpub/config.yaml or $HOME/.config/backpub/config.yaml
/home/alice/.config/backpub/config.yaml
$HOME/Library/Application Support/backpub/config.yaml
/Users/Alice/Library/Application Support/backpub/config.yaml
{FOLDERID_RoamingAppData}\backpub\config.yaml
C:\Users\Alice\AppData\Roaming\backpub\config.yaml