https://github.com/byegithub1/caffeine
Simple JavaScript backend with Deno and Oak.
https://github.com/byegithub1/caffeine
deno deno-deploy restful-api
Last synced: about 1 month ago
JSON representation
Simple JavaScript backend with Deno and Oak.
- Host: GitHub
- URL: https://github.com/byegithub1/caffeine
- Owner: byegithub1
- License: gpl-3.0
- Created: 2024-06-03T11:23:52.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-03T16:15:43.000Z (about 2 years ago)
- Last Synced: 2025-01-21T13:26:25.081Z (over 1 year ago)
- Topics: deno, deno-deploy, restful-api
- Language: TypeScript
- Homepage: https://caffeine.redvelvet.me/v0
- Size: 24.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Caffeine
Simple JavaScript backend with Deno and Oak.
## Deno
[Deno](https://www.deno.com)
([/ˈdiːnoʊ/](http://ipa-reader.xyz/?text=%CB%88di%CB%90no%CA%8A), pronounced
`dee-no`) is a JavaScript, TypeScript, and WebAssembly runtime with secure
defaults and a great developer experience. It's built on [V8](https://v8.dev/),
[Rust](https://www.rust-lang.org/), and [Tokio](https://tokio.rs/).
Learn more about the Deno runtime
[in the documentation](https://docs.deno.com/runtime/manual).
## oak
A middleware framework for Deno's native HTTP server,
[Deno Deploy](https://deno.com/deploy), Node.js 16.5 and later,
[Cloudflare Workers](https://workers.cloudflare.com/) and
[Bun](https://bun.sh/). It also includes a middleware router.
This middleware framework is inspired by [Koa](https://github.com/koajs/koa/)
and middleware router inspired by
[@koa/router](https://github.com/koajs/router/).
This README focuses on the mechanics of the oak APIs and is intended for those
who are familiar with JavaScript middleware frameworks like Express and Koa as
well as a decent understanding of Deno. If you aren't familiar with these,
please check out documentation on
[oakserver.github.io/oak](https://oakserver.github.io/oak/).