/Deno-Rest-API

Simple CRUD API build with Deno and Attain(Express) using MongoDB

Primary LanguageHTML

Deno REST API

Simple CRUD API build with Deno and Attain(Express) using MongoDB

Running Application

deno run --allow-net --allow-write --allow-read --allow-plugin --unstable index.ts

Deno Flags

• --allow-env :allow environment access

• --allow-hrtime :allow high resolution time measurement

• --allow-net= :allow network access

• --allow-plugin :allow loading plugins

• --allow-read= :allow file system read access

• --allow-run :allow running subprocesses

• --allow-write= :allow file system write access

• --allow-all :allow all permissions (same as -A)

Formatting code

deno fmt