/deno-rest-api

A simple REST API for Deno

Primary LanguageTypeScript

deno-rest-api

A simple REST API build on Deno using static data.

Deno installation

Shell (Mac, Linux):

curl -fsSL https://deno.land/x/install/install.sh | sh

PowerShell (Windows):

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

Homebrew (Mac):

brew install deno

Chocolatey (Windows):

choco install deno

Scoop (Windows):

scoop install deno

Build and install from source using Cargo

cargo install deno

Run the local server

deno run --allow-net server.ts