// useProjects.ts · React Query + Zod
export const useProjects = () =>
useQuery({
queryKey: ["projects"],
queryFn: async () => {
const res = await api.get("/projects");
return projectListSchema.parse(res.data);
},
});# sites.py · FastAPI + Pydantic
class SiteOut(BaseModel):
name: str
area_ha: float = Field(ge=0)
@router.get("/sites")
async def list_sites(
db: AsyncSession = Depends(get_db),
) -> list[SiteOut]:
return await fetch_sites(db)# eks.tf · Terraform on AWS
resource "aws_eks_cluster" "main" {
name = "app-${var.env}"
role_arn = var.cluster_role_arn
version = var.cluster_version
vpc_config {
subnet_ids = var.private_subnet_ids
}
}# assistant.py · local LLM via Ollama
reply = ollama.chat(
model="llama3.1",
messages=[
{"role": "system", "content": PROMPT},
{"role": "user", "content": transcript},
],
)
speak(reply.message.content)// map.ts · OpenLayers + Turf
useGeographic();
const source = new VectorSource({
features: geojson.readFeatures(area),
});
map.addLayer(new VectorLayer({ source }));
const { geometry } = turf.centroid(area);
view.animate({ center: geometry.coordinates });# deployment.yaml · Kubernetes
containers:
- name: api
image: registry.example.com/api:1.4.0
ports: [{ containerPort: 8000 }]
readinessProbe:
httpGet: { path: /health, port: 8000 }
resources:
limits: { cpu: 500m, memory: 512Mi }// polygonSchema.test.ts · Vitest + Zod
describe("polygonSchema", () => {
it("rejects an unclosed ring", () => {
const ring = [[0, 0], [1, 0], [1, 1]];
const result = polygonSchema.safeParse({
type: "Polygon", coordinates: [ring],
});
expect(result.success).toBe(false);
});
});

Hi there, I'm
AltynaiIskakova
Full-Stack Developer
I build thoughtful, performant web experiences, from clean APIs to polished interfaces.