https://github.com/arcjet/example-deno
An example Deno application protected by Arcjet
https://github.com/arcjet/example-deno
Last synced: 10 months ago
JSON representation
An example Deno application protected by Arcjet
- Host: GitHub
- URL: https://github.com/arcjet/example-deno
- Owner: arcjet
- License: apache-2.0
- Created: 2025-09-10T14:58:47.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-09-10T16:18:18.000Z (10 months ago)
- Last Synced: 2025-09-16T11:51:30.579Z (10 months ago)
- Language: TypeScript
- Size: 11.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Arcjet example: Deno
[Arcjet](https://arcjet.com) helps developers protect their apps in just a few
lines of code. Bot detection. Rate limiting. Email validation. Attack
protection. Data redaction. A developer-first approach to security.
This is an example Deno application demonstrating how to protect a website
from abuse.
## Features
- [Bot protection](https://docs.arcjet.com/bot-protection/quick-start) shows how
the site can be protected from automated clients.
- [Rate limiting](https://docs.arcjet.com/rate-limiting/quick-start) shows a
rate limit configuration that limits the number of requests from a single IP.
- [Attack protection](https://docs.arcjet.com/shield/quick-start) demonstrates
Arcjet Shield, which detects suspicious behavior, such as SQL injection and
cross-site scripting attacks.
## Run locally
1. [Register for a free Arcjet account](https://app.arcjet.com).
2. Install dependencies:
```bash
deno install
```
3. Rename `.env.example` to `.env` and add your Arcjet key.
4. Start the dev server
```bash
deno run dev
```
5. Open [http://localhost:3000](http://localhost:3000) in your browser.
## Need help?
Check out [the docs](https://docs.arcjet.com/), [contact
support](https://docs.arcjet.com/support), or [join our Discord
server](https://arcjet.com/discord).
## Contributing
All development for Arcjet examples is done in the
[`arcjet/examples` repository](https://github.com/arcjet/examples).
You are welcome to open an issue here or in
[`arcjet/examples`](https://github.com/arcjet/examples/issues) directly.
However, please direct all pull requests to
[`arcjet/examples`](https://github.com/arcjet/examples/pulls). Take a look at
our
[contributing guide](https://github.com/arcjet/examples/blob/main/CONTRIBUTING.md)
for more information.