Skip to content

Commit

Permalink
init repository
Browse files Browse the repository at this point in the history
  • Loading branch information
akantic committed Jul 24, 2022
0 parents commit 471c8cd
Show file tree
Hide file tree
Showing 7 changed files with 7,924 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.DS_Store
node_modules
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
### Treblle Directus Extension

[Treblle](https://treblle.com/) integration for [Directus](https://directus.io/), integrated as an extension in a form of hook, using `middlewares.after` event.

#### Install

```
npm install @treblle/directus-extension-treblle
```

#### Configuration

Use environment variables for providing Treblle credentials and configuration. Directus already supports `.env` file, so it enough to just append your variables there.

```
TREBLLE_API_KEY=api_key
TREBLLE_PROJECT_ID=project_id
TREBLLE_SHOW_ERRORS=true
TREBLLE_FIELDS_TO_MASK=["password"]
```

46 changes: 46 additions & 0 deletions dist/index.js

Large diffs are not rendered by default.

Loading

0 comments on commit 471c8cd

Please sign in to comment.