Commit 3e1fbbd
authored
10 webhook for writing (#36)
* [Change] #3 clean up npm scripts, to have clean folder before build
* [Task] #10 created data types in typescript
* [Temp] #10 created subroute for writing, and folder structure
* [Change] #3 include to use relative paths from src folder in ts and node
https://stackoverflow.com/questions/43281741/how-can-i-use-paths-in-tsconfig-json
See comment from Remo H. Hansen with at least 100 upvoted
* [Change] Update VSCode to keep files open
* [Task] #18 setup dotenv for secret variables
* [Temp, Task] #10 Validate inputs using express-validator and custom functions
* [Task] #18 prevent parameter pollution
* [Task] #10 validating incoming parameter and logging errors
* [Task] #7 add basic cache to express
* [Changes] #7 Error Handling, to include basic custom Error Handling
* [Task] #10 enhanced validation to only allow known parameters
* [Change] #35 added Jest, tests for helper functions when writing
* [Task] #10 better error Handling
* [Task] #35 add tests for writing webhook validation
* [TASK] #18 protect Webhook using KEY
* [Fix] #35 test know import path structure now
* [Task] #35 add test for protected webhook
* [Task] #35 refactor build to run jest tests
* [Task] #10 switched to crypto instead of bcrypt for dependency issue
see synk inflight
* [Fix] #36 PRQ Feedback1 parent 81cac92 commit 3e1fbbd
File tree
19 files changed
+5339
-1242
lines changed- .github/workflows
- .vscode
- src
- controller
- models
- scripts
19 files changed
+5339
-1242
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
10 | 14 | | |
11 | | - | |
| 15 | + | |
| 16 | + | |
12 | 17 | | |
| 18 | + | |
13 | 19 | | |
14 | | - | |
15 | | - | |
16 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
17 | 24 | | |
18 | | - | |
| 25 | + | |
| 26 | + | |
19 | 27 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
| 24 | + | |
| 25 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
0 commit comments