The API Builder

Production-ready REST API with auth, rate limiting, pagination, full code, and Postman collection.

96 words · free to use
Build a complete REST API for [PROJECT DESCRIPTION] using [LANGUAGE/FRAMEWORK — Node.js/Express, Python/FastAPI, etc.]. Include: (1) Project structure — folder organization following best practices, (2) Database schema design with relationships, (3) All CRUD endpoints with proper HTTP methods, (4) Input validation and error handling middleware, (5) Authentication — JWT-based with refresh tokens, (6) Rate limiting and security headers, (7) Pagination for list endpoints, (8) Complete code for each file with detailed comments, (9) A Postman collection or curl commands to test every endpoint, (10) .env example file with all required variables. Make it production-ready, not tutorial-level.
APIbackendRESTdevelopmentarchitecture

How to use this prompt

  1. Copy the prompt with the button above.
  2. Replace the parts in brackets with your own details: [PROJECT DESCRIPTION].
  3. Paste it into ChatGPT and send it. It also works in other AI chat tools.
  4. Not quite right? Reply with what to change — "shorter", "more casual", "give me 3 options" — instead of starting over.

Related code & tech prompts

See all 183 Code & Tech prompts →

Get 10 new prompts every week

Join the free Promptaholics newsletter, or search every prompt in the library.

We use cookies for analytics and ads. See our Privacy Policy.