DENO: Create your first server

Code link

Installing deno

iwr https://deno.land/x/install/install.ps1 -useb | iex

A HelloWorld with deno

deno run helloWorld.ts

Creating a server with deno

deno run server.ts
deno run --allow-net=0.0.0.0:8000 server.ts

--

--

--

I write articles on JavaScript, electron, and react. Opted for curators for better reach, not money. Open link in incognito to read for free (or contact me)

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

What really is semantic HTML and Accessibility?

Easiest Fix for the Rogue Referral Problem with Analytics Tracking for Single Page Apps (Google Tag…

A Full-Length Machine Learning Course in Python for Free

Targeting Kotlin for both Android and iOS

Head First Java— Chapter 1

Most Common Salesforce Integration Types for a Successful Enterprises Business

How to use AWS CodeBuild as a CI for your Python project

A Byte of Coding Issue #234

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ishwar Rimal — @theHumbleBeing

Ishwar Rimal — @theHumbleBeing

I write articles on JavaScript, electron, and react. Opted for curators for better reach, not money. Open link in incognito to read for free (or contact me)

More from Medium

Making yourself at home with a introduction to Command Line Interface

A “welcome to our home” sign

Creating ExtJS applications with coon.js — Part 2: Packages and Configuration Options

Bluetooth LE USB dongle throughput measurement

Streams, Chunk collecting — Part 2

repository files