Skip to content

how to deploy in DENO DEPLOY ? #136

Description

@bobwatcherx

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 });

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions