Expand description
The routes module provides functionality for defining and managing API routes.
This module allows developers to create routes with or without password protection,
and apply them to an Actix Web ServiceConfig. It simplifies the process of setting
up API endpoints and ensures secure access to protected routes.
This module features:
- Password-Protected Routes: Easily secure specific routes with a password.
- Public Routes: Define routes that are accessible without authentication.
- Flexible Configuration: Apply routes to an Actix Web
ServiceConfigfor seamless integration.
The Routes struct serves as a container for all defined routes, allowing for
easy management and configuration.
Structsยง
- Routes
- The
Routesstruct is used to manage API routes.