Skip to content

Results for “api”

23 prompts

Give me a recipe for juicy homemade [beef/chicken/veggie] burgers for [number] people, including patty mix, shaping, cooking on a [grill/pan], bun toasting, a burger sauce and 5 topping combinations.

ChatGPT
Food & Cooking

Homemade burgers

Juicy homemade burgers and toppings.

0

Plan a [days]-day trip through [Norway/Sweden/Denmark] in [month]. Include capital cities, fjords or nature, scenic train routes, ways to manage high costs, and seasonal experiences.

ChatGPT
Travel

Scandinavia trip

Fjords, design and capitals of the north.

0

Create a low-impact workout for someone with sensitive knees who wants to [goal]. Include knee-friendly cardio and strength exercises, things to avoid, and how to progress. Advise checking with a physiotherapist.

ChatGPT
Health & Fitness

Workout for bad knees

Joint-friendly exercises for sensitive knees.

0

Set up a monorepo for [apps and packages, e.g. web app, API and shared UI library] using [tool, e.g. pnpm workspaces / Turborepo / Nx]. Show the folder structure, config files, shared TypeScript config, build and test scripts, and CI caching.

ChatGPT
Coding & Development

Monorepo setup

Organises multiple apps and packages in one repository.

0

Write a Playwright script in [language] that [task, e.g. logs into a test site, fills a form and downloads a report]. Use robust selectors, waits instead of sleeps, screenshots on failure, and credentials from environment variables.

ChatGPT
Coding & Development

Browser automation script

Automates repetitive website tasks with Playwright.

0

Build a minimal web chatbot in [stack] that calls the [AI provider] API. Include a chat UI, conversation history, a system prompt for [use case], streaming responses, API key stored in environment variables, and basic rate limiting.

ChatGPT
Coding & Development

Build a simple AI chatbot with an API

A minimal chatbot app that calls an AI model API.

0

Write a TypeScript client for the [API name] REST API covering [endpoints]. Include typed requests and responses, auth handling, retries with backoff, timeouts, helpful errors, and usage examples.

ChatGPT
Coding & Development

API client SDK wrapper

A typed wrapper around a third-party REST API.

0

Implement [infinite scroll / cursor pagination] for a list of [items] in [framework] calling [API]. Handle loading and error states, avoid duplicate requests, preserve scroll position, and include the backend query for cursor pagination.

ChatGPT
Coding & Development

Infinite scroll or pagination

Efficient list loading for large datasets.

0

Write a Node.js script that [task, e.g. reads a CSV and calls an API for each row]. Use async/await, limit concurrency to [n], retry failed requests with backoff, log progress, and handle errors without crashing. Include package.json dependencies.

ChatGPT
Coding & Development

Node.js script with async/await

A clean Node.js script with proper async error handling.

0

Design a GraphQL schema for [domain, e.g. a blog with posts, authors and comments]. Include types, queries with pagination, mutations, input types, and example resolvers in [language/framework]. Note how to avoid N+1 queries.

ChatGPT
Coding & Development

Write a GraphQL schema and resolvers

A GraphQL schema with queries, mutations and resolvers.

0

Write a Python class for [purpose, e.g. a shopping cart]. Include type hints, docstrings, validation, a clean public API, and pytest unit tests covering normal use and edge cases.

ChatGPT
Coding & Development

Write a Python class with tests

A well-designed Python class with type hints and unit tests.

0

Write a FastAPI endpoint for [operation, e.g. creating an order]. Use Pydantic models for request and response, validate [fields], return proper status codes, handle errors, and include an example request with curl and a pytest test.

ChatGPT
Coding & Development

Python FastAPI endpoint

A typed FastAPI endpoint with validation and error handling.

0