Coding and Testing an Authentication API
Creating +Testing An Authentication API Tutorial
Liquid error: internal
-
01
-
Introduction
-
Start a Server
-
Testing Tips
FREE PREVIEW
-
Register endpoint
-
Testing endpoint with Postman and Cypress
-
Updating Cypress to be robust
-
Creating Mongo DB
-
Hiding username and password in env file
-
Registering our first user
-
Add positive and negative test case
-
Making a more robust test
-
Removing duplication
-
Add body validation logic
-
Add creation validation test
-
Extract validation
-
Logic to avoid duplicate user creation
-
Encrypt a password
-
Add login endpoint
-
Testing the login endpoint
-
Add JWT
-
Add posts endpoint
-
Let's practice- part 1
-
Let's practice- part 2
-
BONUS LECTURE AND RESOURCES
Build and test your first authentication API!