Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Chapter 4 — API Security

Add authentication and authorization to the Employee API — from basic API key protection to JWT-based auth.

Contents

File Description
basic-security.md API key auth, input validation, rate limiting basics
jwt-security.md JWT authentication — login, token generation, protected routes

Learning Outcomes

  • Understand common API security vulnerabilities
  • Implement API key and JWT authentication
  • Protect routes with middleware
  • Store secrets safely (environment variables, not hardcoded)