This is a simple example of creating a simple api with deno (https://deno.land/)
Note: You need to have deno installed in your system.
Command for mac: brew install deno
(Visit here for other options: https://github.com/denoland/deno_install)
- Clone this repo
- Run this in your terminal
deno run --allow-env --allow-net app.ts
For vscode extension -> vscode:extension/denoland.vscode-deno (optional)