Commit d565422
committed
feat(upload): file upload endpoint
Adds an upload endpoint to our API. This has been implemented using
multer as a middleware for file validations and restrictions on file
size. Basic happy/unhappy flow tests pass.1 parent d9c0a6b commit d565422
File tree
9 files changed
+461
-11
lines changed- src
- controllers
- middleware
- types
- test
- api/v1
- test-utils
9 files changed
+461
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
66 | 67 | | |
67 | 68 | | |
68 | 69 | | |
| |||
95 | 96 | | |
96 | 97 | | |
97 | 98 | | |
| 99 | + | |
98 | 100 | | |
99 | 101 | | |
100 | 102 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments