Provide API endpoints, database schemas, or integration details to make outputs production-ready. Includes REST, GraphQL, Postgres, and Supabase examples.
Meku can generate more accurate code when we provide technical context. By including API specifications, database schemas, or integration details in your prompts, the output will align with the existing stack instead of generic placeholders.
This section explains why context improves results.
Adding context ensures that your code is closer to production-ready from the start.
Provide API details directly in prompts so Meku can generate fetch calls, hooks, or services.
Example: REST API
Connect to the GitHub REST API and display a list of repositories for a given user  
Expected output:
Example: GraphQL API
Query the SpaceX GraphQL API to fetch the latest 5 launches and display them in a table  Expected output: Component using Apollo Client or fetch with a GraphQL query.
Adding API context ensures code is wired to actual endpoints, not placeholders.
Database schemas define how data is stored, and Meku uses them to create forms, tables, and CRUD logic.
Example: Postgres schema
Use this Postgres schema:  
users(id, name, email, created_at)  
Build a CRUD interface with forms for creating and editing users, and a table to list them  Expected output:
Example: Supabase schema
Use Supabase table: products(id, name, price, stock)  
Generate an admin dashboard with a table view and a form to update stock  Expected output:
Adding schema context makes your app align with real data models.
Meku can combine API endpoints and database schemas in a single prompt.
Example:
Use this schema:  
orders(id, user_id, total, created_at)  
Connect to REST endpoint /api/orders and display all orders in a paginated table  Expected output:
Combining contexts reduces setup time and produces fully integrated features.
Best practices keep your prompts accurate and efficient.
Following these rules gives outputs that fit the real-world requirements.
Mistakes usually come from vague prompts or missing context.
Too vague
Connect to a database and show dataProduces generic placeholders with no useful integration.
Better
Connect to Supabase table users(id, name, email) and build a table with paginationBy being explicit, you get production-ready integration instead of placeholder code.
Use these as shortcuts when integrating APIs or schemas.
Connect to /api/todos and build a list with add and delete functionsQuery GraphQL endpoint /graphql to fetch posts(title, author) and display in a card grid- Use schema: tasks(id, title, status) 
- Create a Kanban board with columns for status valuesThese examples can be adapted to their own APIs and schemas for faster integration.