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

how to deploy in DENO DEPLOY ? #136

Open
bobwatcherx opened this issue Dec 12, 2021 · 1 comment
Open

how to deploy in DENO DEPLOY ? #136

bobwatcherx opened this issue Dec 12, 2021 · 1 comment

Comments

@bobwatcherx
Copy link

how to deploy this code to deno deploy

import { Application } from "https://deno.land/x/abc/mod.ts";

const app = new Application();

console.log("http://localhost:8080/");

app
  .get("/hello", (c) => {
    return "Hello, Abc!";
  })
  .post("/add",async(c)=>{
    let {name} = await c.body
    console.log(c.body)
    return "namanya = " + name
  })
  .start({ port: 8080 });
@zhmushan
Copy link
Owner

Sorry, it's not supported yet, but I've been trying to find a path that fits better with Deno Deploy.
I don't think it's a good idea for Abc (or any other framework of its type) to work with Deno Deploy (or any other deployment platform). So I will split a section of Abc into a separate file to support Deno Deploy. I believe this work will be completed soon (within two months)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants