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
https://deno.land/x/oak/mod.ts
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