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.
Results for “environment variables”
5 prompts
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.
Build a simple AI chatbot with an API
A minimal chatbot app that calls an AI model API.
Show how to add Stripe Checkout to a [framework] app for [product type: one-time / subscription]. Include server code to create a session, redirect handling, a webhook endpoint that verifies signatures and fulfils orders, and test-mode steps. Use environment variables for keys.
Act as a DevOps engineer. Stack and hosting: [details] Environments: [dev, staging, prod] Secrets used: [types, names only] Recommend: a config structure, .env usage and .env.example, validating config at startup, secret storage options for production, rotation practices, and what must never be committed to git. Inclu…
Environment variables and config management
Organise configuration and secrets safely across development, staging and production.
Act as a DevOps engineer. App: [language/framework and version] Services needed: [database, cache, queue] Ports: [list] Environment variables: [names only] Goal: [local dev / production] Create: 1. A multi-stage Dockerfile (small image, non-root user, cached dependencies) 2. A .dockerignore 3. docker-compose.yml with…
Dockerfile and docker-compose setup
Containerise your app with an optimised, secure Dockerfile and a docker-compose file for local development.