Skip to main content
Module

x/fastro/docs/entrypoint.md

Fast and simple web application framework for deno
Go to Latest
File

Create entrypoint

  • The structure will be like this:

    webapp
    └── main.ts
  • Create webapp folder

    mkdir webapp && cd webapp
  • Create entrypoint, main.ts

    import { Fastro } from "https://raw.fastro.dev/master/mod.ts";
    new Fastro().listen();
  • Run server

    deno run -A main.ts
  • Open url

    http://localhost:3000

What’s next: