What's new

Welcome to Free download educational resource and Apps from TUTBB

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

JWT Authentication with Elixir & Phoenix

TUTBB

Active member
Joined
Apr 9, 2022
Messages
181,570
Reaction score
18
Points
38
87a97f93d539f9086658604d7f1f6d57.jpeg

Published 05/2022
MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz, 2 Ch
Genre: eLearning | Language: English + srt | Duration: 6 lectures (2h 53m) | Size: 1.23 GB

Dive into the functional programming realm with none other than Elixir, the stack which powers Whatsapp, Discord etc
What you'll learn
Learn how to implement JWT based authentication in rest style with Elixir & Phoenix
Register, Login, Logout, Protected Rooutes, we have it all
A pure hands on course, no theories no slides only VS-Code and Postman
Dive into the tech stack which powers our very own WhatsApp, Discord, Pinterest and alike.
Requirements
Basic knowledge of Elixir & PostgreSQL or any relational database is required. Phoenix can be picked up along the way.
Description
Implement JWT based authentication in Elixir. The language which powers, in one way or another (ErLang) Whatsapp, Discord, Pinterest etc.
We will be using Phoenix Framework, the fantastic MVC framework for developing backends and full stack projects in Elixir. Consider Phoenix more like Express of Node.js but way more cooler of course. Well, Elixir altogether is cooler than any other language I code but nevertheless, one thing at a time.
Architecture
Users
Register User
Accept user details like "email", "password", "username" etc. and persist it in the db (PostgreSQL).
Password Hashing
Store irreversible one way hashed password in the db rather than storing the plain tet password, which would be a disaster if you ask me.
Login
Login based on "username" and "password". Validate password w.r.t password hash stored in the db and if everything matches up issue a JWT token for further interaction with the API (protected routes).
Get Authenticated User
Get back the authenticated user w.r.t to token passwed in the authorization header. But avoiding spitting back the password and fetching it altogether from the db, even though it is hashed it still does not make any sense.
Logout
Invalidating a JWT token by storing it against the "user_id" in the db. So that after log out with a particular token, that token can not be used again for accessing private routes. We did this since JWT tokens can not be destroyed they can only be expired when there time comes. So what happens when someone logs out before their token expires? Oxygen for thought.
Protected Routes
Implement private routes to maintain an access control list => what can be accessed and what not. For example, a non authenticated user (guest) should not have access to the following apis
Logout
Ping (an example of ping pong Get request to demonstrate private route mechanism).
etc...
Postman
Test the REST API with Postman along the way, while developing each route/api.
A lot more
We will be learning a lot more than written, about Elixir, Phoenix, PostgreSQL, and creating REST APIs altogether.
Who this course is for
Amateur Elixir Developers and functional programming enthusiasts
Homepage
Code:
https://www.udemy.com/course/jwt-authentication-with-elixir-phoenix/

Recommend Download Link Hight Speed | Please Say Thanks Keep Topic Live
Code:
https://hot4share.com/2gopvejlcgkk/5ppkn.JWT.Authentication.with.Elixir..Phoenix.rar.html
Uploadgig
https://uploadgig.com/file/download/e2F53Cab4b0Ae5b6/5ppkn.JWT.Authentication.with.Elixir..Phoenix.rar
Rapidgator
https://rapidgator.net/file/95f2848507a5da801975fc3b5cdb8cc2/5ppkn.JWT.Authentication.with.Elixir..Phoenix.rar.html
NitroFlare
https://nitro.download/view/84AF3935D41C0DB/5ppkn.JWT.Authentication.with.Elixir..Phoenix.rar
Links are Interchangeable - No Password - Single Extraction
 
Top Bottom