Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(http): add http module #29

Merged
merged 40 commits into from
Jan 24, 2024
Merged
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
733f8da
feat(http): add http server and router
gabeidx Oct 12, 2022
3b240c9
test(http): fix test for router response
gabeidx Oct 12, 2022
7f2aa29
test(http): add test for thrown http statuses
gabeidx Oct 12, 2022
da43d5d
feat(http): add object return response support
gabeidx Oct 12, 2022
1864951
test(http): add tests for URL params
gabeidx Oct 12, 2022
767e2ce
deps: update `std` to `0.184.0`
gabeidx Apr 27, 2023
40f9278
style: format with `deno fmt`
gabeidx Apr 27, 2023
d495205
deps: update `std` to `0.185.0`
gabeidx May 3, 2023
5e096cf
chore: update `deno.json` to new flat syntax for `fmt` and `lint`
gabeidx May 3, 2023
4b16826
refactor(http): add prefix to logger instance name
gabeidx May 3, 2023
679e03e
chore(http/examples): add `--no-lock` flag to tasks
gabeidx May 3, 2023
a5b4316
feat(http): add file-system routing
gabeidx May 3, 2023
9637f94
refactor(http): remove `HEAD` router fn
gabeidx May 3, 2023
d715484
style(http): move `PATCH` to after `PUT`
gabeidx May 3, 2023
1149a47
chore(http/examples): remove logger calls
gabeidx May 3, 2023
7046e43
test(http): `isRouter` fn
gabeidx May 3, 2023
b39ff31
test(http): `isMethod` fn
gabeidx May 3, 2023
4acc3c5
test(http): `isPattern` fn
gabeidx May 3, 2023
95303f9
chore: add `.editorconfig`
gabeidx May 3, 2023
2ecfb58
refactor(http): rename `notFoundHandler` to `notFound`
gabeidx May 4, 2023
ad4cf21
refactor(http): remove `ErrorHandler` type
gabeidx May 4, 2023
b146881
refactor(http): remove `MiddlewareContext` type
gabeidx May 4, 2023
5ef4016
refactor(http): type on `connection` param of `Router.handler()`
gabeidx May 4, 2023
0ac296b
chore(http): remove debug logs from `fromFileSystem()`
gabeidx May 4, 2023
1fd3752
refactor(http): remove `content-type` header from `notFound()`
gabeidx May 4, 2023
5c700f8
chore: remove `TODO` owners
gabeidx May 4, 2023
da9c71e
test(http/router): add test for `notFound` handler fn
gabeidx May 4, 2023
167720e
feat(http): add `redirect` handler fn
gabeidx May 4, 2023
47eb73d
chore(http): improve doc blocks
gabeidx May 4, 2023
583130a
chore: replace deprecated `Deno.run` with `Deno.Command`
gabeidx May 5, 2023
8816872
test(http): add test for multiple handlers for the same route
gabeidx May 5, 2023
3e2a2e3
build: update `std` to `0.186.0`
gabeidx May 5, 2023
2377e6d
ci: run CI workflow on `*.x` branches
gabeidx May 5, 2023
9743bbb
ci: remove `CACHE_VERSION` env var
gabeidx May 5, 2023
25a6d1c
ci: add `DENO_VERSION` env var to CI workflow
gabeidx May 5, 2023
c29253e
ci: add job step names
gabeidx May 5, 2023
3fae815
build: add missing `deno.lock`
gabeidx May 5, 2023
ef9ba13
build: update `std` to `0.187.0`
gabeidx May 12, 2023
3d6cc9a
build: update `std` to `0.197.0`
gabeidx Aug 10, 2023
5065ca3
docs(log): fix link to deno docs api reference
gabeidx Aug 10, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: add .editorconfig
gabeidx committed May 3, 2023
commit 95303f9d05c5bb6207ba011a62a4283e7b0a62b4
15 changes: 15 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# EditorConfig is awesome: http://EditorConfig.org

# top-most EditorConfig file
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = tab
indent_size = 2
trim_trailing_whitespace = true

[*.{json,yml,yaml}]
indent_style = space