Git Product home page Git Product logo

deploy_examples's Introduction

Deno Deploy Examples

This repository contains a list of examples for Deno Deploy.

  • fetch - Make outbound requests using the fetch() API.
  • json_html - Respond to requests with JSON or HTML.
  • post_request - Handle POST requests.
  • slack - A Slack Slash Command example.
  • discord - A Discord Slash Command example.
  • yaus - A URL shortener built on top of Deno Deploy and FaunaDB.
  • issues - A server rendered (using JSX) website that displays issues with most comments of a GitHub repository.
  • telegram - A Telegram Bot Command example.

deploy_examples's People

Contributors

difronzo avatar kt3k avatar lucacasonato avatar ry avatar satyarohith avatar ultirequiem avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

deploy_examples's Issues

Deploy yaus get an error

Error The deployment failed: error sending request for url (https://x.lcas.dev/[email protected]/ssr.js): error trying to connect: dns error: failed to lookup address information: Name or service not known

Update Deno Deploy github app description?

Went to sign up for Deno Deploy, and the permissions it asked for included the all-encompassingAct on your behalf permissions.

I clicked Learn more about Deno Deploy which did not give any additional information.

Is this repository the correct place to request explaining (and hopefully reducing) the permissions needed?

GitHub App example

I'd love to see a GitHub App example. e.g. A simple bot that replies to certain comments on a pull request, validates requests are from GitHub using a webhook secret, etc.

Type Errors with `sift`

When I run check on the YAUS example, I'm getting the following errors:

❱ deployctl check --libs=ns,fetchevent https://raw.githubusercontent.com/denoland/deploy_examples/main/yaus/mod.tsx
Check data:application/typescript;base64,aW1wb3J0IHR5cGUge30gZnJvbSAiZmlsZTovLy9Vc2Vycy9sY2FtcGJlbGwvTGlicmFyeS9DYWNoZXMvZGVuby9odHRwcy9kZW5vLmxhbmQvZWZkODZiZDc5YjUzNDUzOTlhYzI3YzQyNGE2NzgzYjM4NmZjODIxNzYyODYzYTVkOTc1M2YzYzRiNjVkOGQ3Ny50cyI7aW1wb3J0IHR5cGUge30gZnJvbSAiZmlsZTovLy9Vc2Vycy9sY2FtcGJlbGwvTGlicmFyeS9DYWNoZXMvZGVuby9odHRwcy9kZW5vLmxhbmQvOGE3YzI3ZGQ5Y2NkYWVhNjhkMTM2MjRjMGU0YjZkMTBlZjUxODlhNWU3YzI4YzczMWM4ZmExNTI5MGU3Y2FlMC50cyI7aW1wb3J0ICJodHRwczovL3Jhdy5naXRodWJ1c2VyY29udGVudC5jb20vZGVub2xhbmQvZGVwbG95X2V4YW1wbGVzL21haW4veWF1cy9tb2QudHN4Ijs=
error: TS2339 [ERROR]: Property 'entries' does not exist on type 'Headers'.
    headers: Object.fromEntries(req.headers.entries()),
                                            ~~~~~~~
    at https://deno.land/x/[email protected]/mod.ts:6:45

TS2339 [ERROR]: Property 'entries' does not exist on type 'Headers'.
    const headers = Object.fromEntries(response.headers.entries());
                                                        ~~~~~~~
    at https://deno.land/x/[email protected]/mod.ts:57:57

TS2339 [ERROR]: Property 'keys' does not exist on type 'URLSearchParams'.
    for (const param of searchParams.keys()) {
                                     ~~~~
    at https://deno.land/x/[email protected]/mod.ts:206:38

TS2339 [ERROR]: Property 'keys' does not exist on type 'Headers'.
    for (const header of request.headers.keys()) {
                                         ~~~~
    at https://deno.land/x/[email protected]/mod.ts:229:42

Found 4 errors.

support github docs folder

Just like GitHub pages, sometimes we just use the docs folder instead of the entire GitHub repository.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.