A read-only REST API for querying cloud provider region information.
Built with Xano for the DEV x Xano AI-Powered Backend Challenge.
This project provides a simple backend service for retrieving cloud region metadata across multiple cloud providers including AWS, Azure, and Google Cloud.
- Xano Backend Platform
- REST API
- JSON
- Database Queries
- HTTP GET Methods
- GitHub Documentation
- ✅ Read-only REST API
- ✅ Multi-cloud region database
- ✅ Provider-based filtering
- ✅ Specific region lookup
- ✅ Case-insensitive queries
- ✅ 404 handling for missing regions
- ✅ Simple API-first backend architecture
- ✅ JSON responses
Client
|
v
REST API (Xano)
|
v
Cloud Regions Database
The backend follows a lightweight API design:
- Cloud region data is stored in a database
- API endpoints provide read-only access
- No data modification operations are exposed
| Provider | Example Region Codes |
|---|---|
| AWS | us-east-1 |
| Azure | westeurope |
| Google Cloud | europe-west1 |
GET /healthReturns the current API service status.
Example response:
{
"status": "ok",
"service": "cloud-region-api"
}GET /regionsReturns all available cloud regions.
Example response:
[
{
"provider": "AWS",
"region_code": "us-east-1",
"location": "Virginia",
"continent": "North America"
}
]GET /regions/{provider}Returns all regions belonging to a specific cloud provider.
Example:
GET /regions/awsResponse:
[
{
"provider": "AWS",
"region_code": "us-east-1",
"location": "Virginia",
"continent": "North America"
}
]GET /regions/{provider}/{region_code}Returns a single cloud region matching the provider and region code.
Example:
GET /regions/aws/us-east-1Response:
{
"id": 1,
"provider": "AWS",
"region_code": "us-east-1",
"location": "Virginia",
"continent": "North America"
}If the region does not exist:
{
"error": "Cloud region not found"
}| Technology | Purpose |
|---|---|
| Xano | Backend platform |
| REST API | Service communication |
| JSON | Data format |
| Database | Region storage |
This API intentionally follows a read-only architecture.
Available:
✅ GET endpoints
Not available:
❌ POST
❌ PUT
❌ PATCH
❌ DELETE
The goal is to provide a reliable cloud region lookup service with a minimal backend footprint.
Endpoints were tested using the built-in Xano API testing environment.
Validated:
- Successful API responses
- Database queries
- Provider filtering
- Region lookup
- Missing resource handling
See:
This project demonstrates:
- Backend API development
- Database-driven applications
- REST API design
- Cloud infrastructure concepts
- Multi-cloud terminology
- Backend automation workflows
Antonis Loukis
GitHub: https://github.com/antonisloukis

