Coding and testing an authentication API [NodeJs + Cypress] Step-by-Step Tutorial

Publié le: 22 février 2021
sur la chaîne: UltimateQA
4,910
115

In this free tutorial, we'll show you step-by-step how to code and test an authentication API. No prior testing experience is necessary.💯

What You Will Learn From Coding and Testing an Authentication API [NodeJs + Cypress] Tutorial [2021]:

⏳TABLE OF CONTENTS

(0:00) Introduction
(0:53) Start a server
(04:14) Register endpoint
(8:37) Testing endpoint with Postman and Cypress
(17:40) Updating Cypress to be robust
(20:27) Creating Mongo DB
(24:25) Hiding username and password in env file
(27:38) Registering our first user
(38:55) Add positive and negative test case
(46:26) Making a more robust test
(50:09) Removing duplication
(54:21) Add body validation logic
(1:03:16) Add creation validation test
(1:16:12) Extract validation
(1:22:54) Logic to avoid duplicate user creation
(1:33:11) Encrypt a password
(1:38:37) Add login endpoint
(1:44:23) Testing the login endpoint
(1:49:25) Add JWT
(1:55:58) Add posts endpoint

🔎 SOURCE CODE
https://github.com/nadvolod/js-code/t...

===============================

🚨 Ready to level up your #QA career and enter a job market of 100K+ open positions?

💼 Learn how to crush interviews and land a $100K+ career
👩‍💻  Quickly find your next dream role with our network of corporate partners
🌎 Learn from the world's best
📅 100% virtual education
💻 Gain real-world experience through automation with real customers
🚀 Build out your open-source coding skills through group projects

 Become a Java SDET and join the future of tech!
👉 https://academy.ultimateqa.com/java-sdet

===============================

WHAT YOU NEED TO KNOW

🎥 More testing videos here.
   • Coding and Testing Web Apps w/ JavaScript  

🎥 To learn more about Selenium, subscribe to our YouTube channel
   / @ultimateqa  

🎓 Make the ultimate IT career leap with our complete Selenium WebDriver with Java Bootcamp.
https://www.ultimateqa.com/selenium-java

🚀 Learn to Automate and get the job of your dream.
https://ultimateqa.com/

🔥 Use this promo code to get an exclusive Youtube subscriber discount: youtube25
Apply at checkout on https://courses.ultimateqa.com/​

CONNECT WITH US
===============================
📝 - BLOG: https://ultimateqa.com/blog
🛠️ - ULTIMATE QA CUSTOMER SUPPORT: info@ultimateqa.com
🐦 - TWITTER:   / nikolay_a00  
💡 - LINKEDIN:   / nikolayadvolodkin  
👥 - FACEBOOK:   / ultimateqa1  
🐦 - TWITTER:   / nikolay_a00  
📸 - INSTAGRAM:   / world.class.dev  

LOOKING FOR THE BEST TESTING STRATEGY SO YOU CAN ATTAIN DIGITAL CONFIDENCE?
===============================
We deliver unmatched expertise in testing strategy.
View Case Studies Here 👉 https://ultimateqa.com/consulting/

INTERESTED IN BECOMING ULTIMATE QA's AMBASSADOR?
===============================
💲 - Become an Affiliate and earn some extra money!
Learn More Here 👉 https://ultimateqa.com/affiliate/

#coding #testing #programming


Sur cette page du site, vous pouvez voir la vidéo en ligne Coding and testing an authentication API [NodeJs + Cypress] Step-by-Step Tutorial durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur UltimateQA 22 février 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 4,910 fois et il a aimé 115 téléspectateurs. Bon visionnage!