Generates a complete REST API with models, endpoints, middleware, and OpenAPI documentation.
Design and implement a complete REST API for a [DOMAIN] application. Generate all the following components: **1. Data Models** (define first): - Entity definitions with field types, constraints, and relationships - Database schema (SQL or ORM model definitions) - Validation rules for each entity **2. API Endpoints** (for each entity): - GET /api/[resource] — List with pagination, filtering, sorting - GET /api/[resource]/:id — Single item with related data - POST /api/[resource] — Create with validation - PUT /api/[resource]/:id — Full update - PATCH /api/[resource]/:id — Partial update - DELETE /api/[resource]/:id — Soft delete **3. Middleware**: - Authentication (JWT or API key) - Rate limiting - Request logging - CORS configuration - Error handling middleware **4. Business Logic**: - Service layer with business rules - Input sanitization - Pagination helpers - Response formatting (consistent envelope) **5. Documentation**: - OpenAPI 3.1 spec for all endpoints - Example requests and responses Use [LANGUAGE/FRAMEWORK] and follow its idiomatic patterns.
Replace [DOMAIN] and [LANGUAGE/FRAMEWORK]. Use in Gemini Code Assist or AI Studio.
Use Gemini's Google Search grounding to provide factual, up-to-date answers with source citations. Reduces hallucination by anchoring responses in real search results.
Expert coding assistance for Google Cloud Platform services. Covers Cloud Functions, BigQuery, Firestore, Cloud Run, and GCP-native architectures using Gemini Code Assist.
Automate Google Docs, Sheets, Slides, and Gmail workflows using Gemini's native Google Workspace integration. Templates for common business automation.
Leverage Gemini's 1M+ token context window for processing long documents, PDFs, and multimodal content. Extracts, summarizes, and cross-references across large document sets.
Activates Gemini Deep Research for thorough multi-source topic analysis with citations.
Creates a complete interactive web app within Gemini Canvas with responsive design and accessibility.
Workflows from the Neura Market marketplace related to this Gemini resource