An open API service indexing awesome lists of open source software.

https://github.com/kernelerr/denojump

A simple URL shorten tool based on Deno Deploy and Fauna.
https://github.com/kernelerr/denojump

Last synced: about 1 year ago
JSON representation

A simple URL shorten tool based on Deno Deploy and Fauna.

Awesome Lists containing this project

README

          

# Denojump

A simple URL shorten tool based on [Deno Deploy](https://deno.com/deploy) and [Fauna](https://fauna.com/).

## Usage

1. Import scheme in Fauna.

2. Create some short link like(source should begin with `/`):

```
mutation {
createJump(data: {source: "/blog", target: "https://www.lirui.tech"}) {
source
target
}
}
```

3. Set `FAUNA_SECRET`(Your Fauna API Key) environment variable.

3. Deploy the `fauna.ts` to Deno Deploy.

4. Add your custom domain(Optional).