0Pricing
Edge Computing with Cloudflare Workers & Deno · Lesson

Developing Local Deno Apps

Build and run simple Deno applications locally, focusing on file I/O and network requests.

Your First Local Deno App

Welcome! In this lesson, we'll dive into building and running Deno applications right on your local machine.

Developing locally is crucial for testing and iterating quickly before deploying to the edge.

We'll focus on two fundamental operations: reading and writing files, and making network requests.

Hello, Deno!

Let's start with a classic "Hello, World!" program. Deno executes TypeScript or JavaScript directly.

Save this code as main.ts and run it using the deno run command in your terminal.

// main.ts
console.log("Hello from local Deno!");

All lessons in this course

  1. Deno Runtime Essentials
  2. Module System & Permissions
  3. Developing Local Deno Apps
  4. Testing Deno Applications
← Back to Edge Computing with Cloudflare Workers & Deno