
Explore routing in a Deno app by importing router libraries, defining get endpoints for the homepage and a new page, returning responses, and running the server on port 8000.
Generate a jwt using a package, with a secret key and payload including the user id as issuer and a one-hour expiry, then store the token in an httpOnly cookie.
Implement an OAuth middleware to verify a logged-in user using cookies and a JWT, returning unauthenticated on invalid tokens and proceeding to the next controller when valid.
Fetches the current authenticated user by validating the JWT from cookies, retrieves the user by id, and returns first name, last name, and email without the password.
Store secrets in environment variables instead of code, access them in deno via the environment, handle undefined values, and enable the allow-env flag for secure runtime.
Import the course model and configure cors to allow cookies by enabling credentials and using an origin regular expression that accepts the frontend host.
Learn how to authenticate using Angular and Deno.
In Deno you will learn:
Use Typescript
Create public and secure routes
Connect with MySQL
Run Migrations
Register Users
Generate Jwt Tokens
Use HttpOnly Cookies
Send Emails
In Angular you will learn:
Use Angular CLI
Create components and routes
Consume API calls
Use Event Emitters
I'm a FullStack Developer with 10+ years of experience. I'm obsessed with clean code and I try my best that my courses have the cleanest code possible.
My teaching style is very straightforward, I will not waste too much time explaining all the ways you can create something or other unnecessary information to increase the length of my lectures. If you want to learn things rapidly then this course is for you.
I also update my courses regularly over time because I don't want them to get outdated. So you can expect more content over time from just one course with better video and audio quality.
If you have any coding problems I will offer my support within 12 hours when you post the question. I'm very active when trying to help my students.
So what are you waiting for, give this course a try and you won't get disappointed.