In this video, we gonna build a ToDo List app using Deno, MongoDB, and View Engine. This is the first part of our video series in this video we gonna add Oak which serves our application, then we create our Model View Controller Architecture (MVC). Then we add MongoDB to add data to our database then we add POST and GET request handler to create data and get data.
For this tutorial we are using the following modules :
1. Oak Module "https://deno.land/x/oak/mod.ts"
2. Mongo: "https://deno.land/x/[email protected]/mod.ts"
3. View Engine "https://deno.land/x/view_engine"
For running our application type inside the terminal:
If you are using Denon
"denon run --allow-read --allow-write --allow-net --allow-plugin --unstable app.ts"
or
"deno run --allow-read --allow-write --allow-net --allow-plugin --unstable app.ts"
Clone the project from GitHub: https://github.com/recoding-io/deno-t...
Follow us on
📝 @Medium - / recoding
🐦 @Twitter - / recoding_io
🦄 @Dev.to - https://dev.to/recoding