In this video we are going to learn how to create a Rest API in Deno along with CRUD operation using MongoDB as a primary Database.

Libraries required

  1. Oak Module

https://deno.land/x/oak/mod.ts

  1. MongoDB Module

https://deno.land/x/mongo@v0.7.0/mod.ts

Command to serve app:

**Important - Unfortunately Denom has changed its name to Denon to please write the following command.

If your are using Denon:

denon run ----allow-net --allow-env --allow-read --allow-write --allow-plugin --unstable app.ts

If not :

deno run ----allow-net --allow-env --allow-read --allow-write --allow-plugin --unstable app.ts

#deno #node #mongodb #rest #api

How to Create a Rest API in Deno with CRUD Operation using MongoDB
9.50 GEEK