Skip to content

Latest commit

 

History

History

hello-world

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Hello World

This is an example of a "Hello, World!" application, which is as simple as one can get.

In run.ts, you can see what it is like to configure and start the server, add a route, and respond to a request with a simple value.

Run the example

Make sure Deno is installed and up to date.

Remote

The fastest way to run the example is to use its URL:

deno run -A https://deno.land/x/pogo/example/hello-world/run.ts

Local

Alternatively, if you want to play around with the example, run it from a local file:

curl -fsSL https://github.com/sholladay/pogo/archive/master.tar.gz | tar -xz --strip-components=1 'pogo-master/example'
deno run -A example/hello-world/run.ts

What's next?

When you are done with this example, check out Simple Server to see some other features of Pogo and how you can write tests for your app.