PromptGenerator
Software Development

Software Development

REST / JSON API

A documented, tested backend service.

01

Shape your prompt

10 fields
Frontend
Styling
Backend
API
02

Your prompt

691 characters

The raw prompt, unchanged.

Still needed: Service name, What it manages — the preview updates as you type.

Output21 lines · 691 chars
You are a senior backend engineer. Build a REST API service called "".

## Domain

## Tech
- Language: TypeScript
- Database: PostgreSQL

## Requirements
- Well-modeled schema and migrations.
- Validated request/response payloads and consistent error envelopes.
- Authentication and authorization on protected endpoints.
- An OpenAPI 3 spec generated from the code.
- Automated tests covering each endpoint (happy path + failure cases).

## Deliverables
1. Data model + endpoint list before implementation.
2. Complete runnable service with migrations and seed data.
3. README: setup, env vars, run, and example requests (curl).

Use production-grade defaults and explain notable trade-offs.