mkdir webapp && cd webapp
fastro init
This command will generate folders and files like this:
.
├── app.yaml
├── container.ts
├── deps.ts
├── Dockerfile
├── main.ts
├── middleware
│ └── support.ts
├── module
│ ├── hello.controller.ts
│ ├── hello.template.html
│ ├── react.page.tsx
│ └── react.template.html
├── public
│ ├── favicon.ico
│ └── index.html
└── readme.md
3 directories, 13 files
deno run -A main.ts
Or if you want to monitor any changes and automatically restart:
fastro serve
http://localhost:8080