Lambda & API Gateway

In this section, you will create AWS Lambda functions and expose them via Amazon API Gateway to build the serverless backend for DaiVietBlood.

Architecture Overview

Ảnh đại diện của bạn

API Endpoints

MethodEndpointDescription
GET/usersGet all users
POST/usersCreate new user
GET/users/{id}Get user by ID
GET/donationsGet all donations
POST/donationsCreate donation appointment
GET/emergency-requestsGet emergency requests
POST/emergency-requestsCreate emergency request

Content

  1. Create Lambda Functions
  2. Create API Gateway
  3. Test API Endpoints
  4. Configure CORS & Security