Skip to content

A simple example how to make an REST API CRUD in Deno

Notifications You must be signed in to change notification settings

LuisPaGarcia/deno-rest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rest-deno

A simple example how to make an REST API CRUD in Deno

  1. Clone the repo
  2. You must have Deno 1.0 version or superior.

Using Deno:

deno upgrade --version 1.0.2

With Shell:

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

With PowerShell:

iwr https://deno.land/x/install/install.ps1 -useb -outf install.ps1; .\install.ps1 v1.0.2
  1. Run the ./apis/index.ts file.

You will have to add the permission for net use adding --allow-net flag.

You will have to add the permission for env use adding --allow-env flag.

$ deno run --allow-env --allow-net ./api/index.ts

terminal example

About

A simple example how to make an REST API CRUD in Deno

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published