Build a REST API

Complete workflow for building a production-ready REST API

api
backend
rest
prisma
workflow
multi-step
0

Prompt

This workflow guides you through building a production-ready REST API from scratch.

## Steps:

1. Define data models and relationships

2. Set up database schema with Prisma

3. Create API routes and controllers

4. Implement authentication and authorization

5. Add input validation and error handling

6. Write tests for endpoints

7. Set up rate limiting and security headers

8. Document API with OpenAPI/Swagger