Crud with new deno framework and MongoDB database, also added error handler and error middleware
- Clone the project.
- Install Mongodb if not installed already.
cd
into cloned project directory.- To start the project run
deno run --unstable --allow-plugin -A server.ts
- Enjoy!
Will be added soon!
- run -> runs the typescript file of deno app
- --unstable --allow-plugin -> To allow plugins that are not yet stable eg. MongoDB driver for deno.
- -A -> Allow all permission to deno Only use this in develoment mode (Refer point 1 below).
- Sandbox - By default deno runs on sandbox ie. will not have any permissions eg. read, write, network etc.