Deno The Successor of Nodejs
Learn #Deno (the successor of #Nodejs) from very basics to advanced by creating API in deno using MongoDB and authenticate the user using JWT in 3.5 hours
Deno Modules Used
We will use various modules of Deno world
- Oak Middleware Framework https://deno.land/x/oak
- Encrypt Password https://deno.land/x/bcrypt
- Generate JWT Token https://deno.land/x/djwt
- Mongo DB Driver https://deno.land/x/mongo
Useful Links
Docs: https://deno.land
Source Code: https://github.com/bitfumes/deno-js-with-mongodb-course
Here is the list of topics we will cover
1 Getting Started with Deno
2 Introduction to Deno Oak
3 Create your first route
4 Create Post route with data
5 Create Dynamic routes
6 Handle not found
7 Using Environment Variable
8 Using Controllers
9 Installing MongoDB
10 Using Mongo Driver
11 Fetch user from MongoDB
12 Store user into mongo db
13 Validate Request Data
14 Delete user from mongodb
15 Update user on mongodb
16 Validation on Update
17 Refactor Validation
18 Multiple Errors at once
19 Handle Empty Object
20 Hot Restart with Denon
21 Handling Incorrect User ID
22 Add created at field
23 Bcrypt the password
24 Create Login route
25 Fetch the user with email
26 Verify Password
27 Generate JWT
28 Extract auth token from header
29 Validate Auth Token
30 Create Auth Middleware
31 Create Protected Routes
32 Fetch UserId from token
33 Show authenticated use
Check out The Progressive Course of Denojs at
https://bit.ly/2ZArzXg
Any suggestions or comments are welcome :)