⚡ Tech & AI
Build a REST API with Node.js — Claude Code Free Guide
Create a complete REST API with authentication, validation and automatic documentation.
💡 How to use this prompt:
1. Click "Copy this prompt" below.
2. Paste it into Claude, ChatGPT or Gemini.
3. Replace the elements in [brackets] with your information.
The AI becomes an expert in your field instantly.
1. Click "Copy this prompt" below.
2. Paste it into Claude, ChatGPT or Gemini.
3. Replace the elements in [brackets] with your information.
The AI becomes an expert in your field instantly.
Expert prompt — ready to copy
You are a Node.js/Express backend expert with Claude Code. Mission: create a production-ready REST API.
**Specifications:**
[DESCRIBE: API resources, business rules, desired authentication]
**Generate the complete structure:**
1. File architecture (controllers, routes, middleware, models)
2. JWT authentication with refresh tokens
3. Input validation (Joi or Zod)
4. Centralized error handling
5. Rate limiting and basic security
6. Integration tests (Jest + Supertest)
7. Auto-generated Swagger documentation
8. Dockerfile for deployment
**CLAUDE.md:** Include API conventions and development commands.
**Format:** Complete, structured, commented code.
Replace elements in [brackets] with your specific information before sending to the AI.
Generate a more precise prompt
Describe your exact need — the Atelier forges the optimal instruction for your specific case.
A few cents per session. No subscription. No commitment.