Skip to content

Results for “backend”

14 prompts

Implement simple feature flags in [stack] without a paid service. Support on/off, percentage rollout and per-user overrides, store flags in [storage], and show how to use a flag in code and remove it cleanly later.

ChatGPT
Coding & Development

Feature flag implementation

Ships features safely with gradual rollouts.

0

Add a background job queue to my [framework] app for tasks like [tasks]. Recommend a queue library, show job definitions, retries with backoff, failure handling, scheduling, and how to run workers in production.

ChatGPT
Coding & Development

Background job queue

Moves slow tasks like emails and reports out of web requests.

0

Set up a [Supabase/Firebase] backend for [app]. Include the data model, authentication, row-level security or security rules so users only access their own data, example queries from the client, and storage for user uploads.

ChatGPT
Coding & Development

Firebase or Supabase backend setup

Sets up auth, database and security rules for a small app.

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

Build a file upload feature in [stack]. Show a progress bar, validate file type and size on client and server, store files in [storage], generate safe file names, and return a URL. Explain security considerations.

ChatGPT
Coding & Development

File upload with progress

Secure file uploads with progress bars and validation.

0

Implement a real-time [feature, e.g. chat / live notifications] using WebSockets in [stack]. Include server setup, client connection with reconnect logic, message format, authentication, and how to scale beyond one server.

ChatGPT
Coding & Development

WebSocket real-time feature

Adds real-time updates like chat or live notifications.

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 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

Act as a backend engineer. Stack: [details] Endpoints to protect: [list] Limits wanted: [e.g. 100 requests/minute per API key, 5 login attempts per 15 minutes per IP] Infrastructure: [single server / multiple instances / Redis available] Implement rate limiting (explain fixed window vs sliding window vs token bucket),…

ChatGPT
Coding & Development

API rate limiting

Protect your API from abuse with rate limits per user, IP or API key.

0

Act as a QA-minded backend engineer. Framework and test tool: [e.g. Jest + Supertest, pytest + httpx, PHPUnit] Endpoints: [list with expected behaviour] Auth: [method] Database setup: [test DB, fixtures] Write integration tests covering success cases, validation errors, auth failures and not-found cases, with setup/te…

ChatGPT
Coding & Development

Integration tests for an API

Test your API endpoints end to end, including the database, auth and error responses.

0

Act as a backend developer. Framework/tool: [Laravel, Django, Rails, Prisma, Alembic, raw SQL] Database: [PostgreSQL/MySQL] Change needed: [e.g. add column, rename table, split a field] Table size: [rows] Write the up and down migration, any data backfill, how to deploy it safely without downtime (e.g. expand-and-cont…

ChatGPT
Coding & Development

Write a database migration

Create safe, reversible migrations for schema changes, including data backfills.

0

Act as a senior engineer who mentors candidates. Target role and level: [e.g. mid-level backend engineer] Target companies: [types] Interview date: [date] Strengths and weak spots: [details] Hours per week: [hours] Create a study plan covering data structures and algorithms (topics by priority), system design, languag…

ChatGPT
Career & Jobs

Technical interview prep plan for developers

A week-by-week study plan for coding, system design and behavioural rounds, tailored to your target companies.

0