Asset 20
Step by step

API & Auth Roadmap

API provides the interface for exchange of data from server to client and vice versa by exposing endpoints. JWT authentication ensures roles and permissions for users or applications accessing data.

A truly RESTful APIs follows certain guidelines for transmitting information over HTTP. We use JSON(Javascript Object Notation) format to transmit information. JWT tokens allows to independently transmit data without maintaining a state.

API Basics

Learn what APIs are...guidlines which make it truly RESTful API. Learn to serve API endpoints from an express server and also about API Versioning

  • What are APIs ?
  • What are RESTful APIs ?PRO
  • REST Guiding PrinciplesPRO
  • Create API endpoints using Express serverPRO
  • API VersioningPRO
Exercises / Projects

API Authentication using JWT

JWT tokens are independent, self contained block of information used for authenticating applications. Token based authentication is the stateless mechanism which deos not rely on previous requests or previous user data stored.

  • JWT Basics
  • JWT Structure
  • Authentication flow for JWT tokensPRO
  • Signing JWT tokensPRO
  • Validating JWT tokensPRO
  • Different ways of passing token from requestsPRO
Exercises / Projects

AltCampus helps you learn faster by inculcating these systems as part of the learning model. 🙌

START LEARNING