DEV Community

𝒮𝒶𝓇𝓉𝒽𝒶𝓀 📨
𝒮𝒶𝓇𝓉𝒽𝒶𝓀 📨

Posted on

Deno Full Course in 3.5 hours

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

  1. Oak Middleware Framework https://deno.land/x/oak
  2. Encrypt Password https://deno.land/x/bcrypt
  3. Generate JWT Token https://deno.land/x/djwt
  4. 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 :)

Top comments (20)

Collapse
 
radoslavgrn profile image
Radoslav Nikolov

Actually Deno is not the successor of NodeJS as NodeJS is and will be still used in many years to come. It is all cool creating tutorials but if we talk business, what are the benefits for a company to switch to Deno if not customer's wishes? It might be better but both Node and Deno are not racing against each other and are similar, so what is the point of heating things up, like the creator didn't say that they are comparable but still no different?

Collapse
 
sarthaksavvy profile image
𝒮𝒶𝓇𝓉𝒽𝒶𝓀 📨

I believe you have a good point.
But if you watch Ryan Dahl talk, he said many issues about nodejs and Deno solves that.
But for sure from business prospective nodejs is not going to die and both node and Deno will go parallel

Collapse
 
sirseanofloxley profile image
Sean Allin Newell

Interesting; are you going to update the course as deno evolves?

Collapse
 
sarthaksavvy profile image
𝒮𝒶𝓇𝓉𝒽𝒶𝓀 📨

Yeahh, if you check full course at bitfumes.com/premium, I have written it as "Progressive course"
With every Major release, course will be updated 🤩

Collapse
 
sirseanofloxley profile image
Sean Allin Newell

Keep up the good work!

madRespekt

Collapse
 
sarthaksavvy profile image
𝒮𝒶𝓇𝓉𝒽𝒶𝓀 📨

Those of you who want to go ahead of this youtube video course.
Here is a progressive course for you bit.ly/deno-course
Get it now with 30% off coupon DENODENO30

Feedback and suggestions are appreciated :)

Collapse
 
pankajsanam profile image
Pankaj

Hey Sarthak, I have been watching your videos for some time. Eagerly waiting for this one too.

Collapse
 
yurianxdev profile image
Julian Garzon

I think I love u 😂

Collapse
 
sarthaksavvy profile image
𝒮𝒶𝓇𝓉𝒽𝒶𝓀 📨

I know you love me 🤣🤣

Collapse
 
luispa profile image
LuisPa

Great!

Thanks for sharing.

Collapse
 
cmcwebcode40 profile image
Chinweike Michael Chinonso

Can you test your api usiny postman?

Collapse
 
sarthaksavvy profile image
𝒮𝒶𝓇𝓉𝒽𝒶𝓀 📨

Yeahhh

Collapse
 
chandrapantachhetri profile image
Chandra Panta Chhetri • Edited

Ah just what I was looking for! Wanted to get started with Deno, but didn't know where to look, seems I've found it. Thanks!

Collapse
 
sarthaksavvy profile image
𝒮𝒶𝓇𝓉𝒽𝒶𝓀 📨

Yeah video premier tomorrow, dry you're reminder

Collapse
 
chandrapantachhetri profile image
Chandra Panta Chhetri

Can't wait!

Collapse
 
manprajapat profile image
MANISH PRAJAPATI

I catch you here also. This is too early, surely will look into this. Thanks @sarthak

Collapse
 
sarthaksavvy profile image
𝒮𝒶𝓇𝓉𝒽𝒶𝓀 📨

Thanks bro 😁✌️

Collapse
 
sarthaksavvy profile image
𝒮𝒶𝓇𝓉𝒽𝒶𝓀 📨

What if I can say that now the Deno course includes WebSocket Real-time chat system with over 16 new videos on the playlist.
Check this out bit.ly/deno-course

Collapse
 
huyphongbn profile image
doivjpxx

Great. Could you make a tutorial with Postgresql? Many Thx.

Collapse
 
sarthaksavvy profile image
𝒮𝒶𝓇𝓉𝒽𝒶𝓀 📨

Sure I will add that as soon as postgresql driver become stable