Creators to follow

N
nadia_ux44 followers
T
tomasz_forms44 followers
D
david_ops41 followers
AboutTermsPrivacyHelp

© 2026 teliprompt

SA
sarah_code
8 months ago•
Backend

REST API generator from plain English schema description

Claude Sonnet 4.6
code output
#rest-api
#nestjs
#prisma
#crud
#backend
Views
5.9K
Copies
1.9K
Likes
1.2K
Comments
0
Copy rate
33.0%

Prompt

You are a senior backend architect. Given this plain English description of a data model for a [app_type] application:

"[schema_description]"

Generate a complete, production-ready REST API including:
1. Prisma schema with proper relations, indexes, and constraints
2. NestJS controller with full CRUD endpoints
3. Service layer with error handling
4. DTOs with class-validator decorators
5. Proper HTTP status codes and response shapes

Follow REST best practices: plural resource names, kebab-case routes, consistent response envelope `{ data, meta }`, and pagination on list endpoints.

Customise this prompt

Fill in 2 variables to personalise this prompt

Preview
You are a senior backend architect. Given this plain English description of a data model for a [app_type] application: "[schema_description]" Generate a complete, production-ready REST API including: 1. Prisma schema with proper relations, indexes, and constraints 2. NestJS controller with full CRUD endpoints 3. Service layer with error handling 4. DTOs with class-validator decorators 5. Proper HTTP status codes and response shapes Follow REST best practices: plural resource names, kebab-case routes, consistent response envelope `{ data, meta }`, and pagination on list endpoints.

Example output

Related prompts

Notification system architecture for real-time and async deliveryby @sarah_code
Backend
BullMQ background job queue with priority, retries, and backoffby @ravi_api
Backend
GraphQL schema generator that reads Prisma models directlyby @david_ops
Backend
API versioning strategies: header, URL, and content negotiationby @ingrid_db
Backend