API Playground

API Information

This API is hosted on AWS Lambda, a serverless compute service that automatically scales in response to requests, making it cost-effective and highly available. The API is managed through AWS API Gateway, which provides secure HTTPS access and integrates seamlessly with AWS Lambda to handle API requests.

Each version of the API is stored in an AWS S3 bucket as part of the deployment pipeline. This enables easy version tracking and rollback capabilities, allowing older versions to be restored if needed.

The full codebase for this API is available on my GitHub at https://github.com/zmahm/expressportfolio, where you can explore the source code and configuration in detail.

GET /api

Root endpoint. Returns a welcome message.


        

GET /api/greet/:name

Greets the user with a name parameter.


        

GET /api/items

Returns a list of predefined items.


        

POST /api/data

Send JSON data to the server and receive it back.