Submitting Recipes
Submitting Recipes
Section titled “Submitting Recipes”A comprehensive guide to submitting recipes to OpenSauce.
Before You Begin
Section titled “Before You Begin”Before submitting a recipe, make sure you:
- Have a GitHub account
- Are signed in to dash.os.eura.dev
- Have read the Community Guidelines
Recipe Requirements
Section titled “Recipe Requirements”All recipes must include:
Required Fields
Section titled “Required Fields”- title: A clear, descriptive title
- difficulty: One of:
easy,medium,hard - version: Version number in format
x.y.z(e.g.,1.0.0) - yield: Serving size with amount and unit
- times: Preparation, cooking, and total times in minutes
- tags: Array of relevant tags (max 10)
- ingredients: Array of ingredients (at least 1)
- instructions: Array of steps (at least 1)
Step-by-Step Submission
Section titled “Step-by-Step Submission”Using the Dashboard
Section titled “Using the Dashboard”- Go to dash.os.eura.dev
- Click Submit Recipe in the sidebar
- Fill in the recipe form
- Click Submit
Using the API
Section titled “Using the API”const recipe = { title: 'My Amazing Recipe', description: 'A delicious dish that everyone will love.', version: '1.0.0', difficulty: 'medium', yield: { amount: 4, unit: 'servings' }, times: { prepMinutes: 15, cookMinutes: 30, totalMinutes: 45 }, tags: ['dinner', 'easy', 'family'], ingredients: [ { name: 'Chicken Breast', amount: 2, unit: 'lbs', notes: 'boneless, skinless' }, { name: 'Olive Oil', amount: 2, unit: 'tbsp' } ], instructions: [ { step: 1, text: 'Heat olive oil in a large pan over medium heat.' }, { step: 2, text: 'Season chicken breasts with salt and pepper.' } ], media: [], nutrition: null};
const response = await fetch('https://api.os.eura.dev/api/v1/recipes', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Cookie': 'session=YOUR_SESSION_TOKEN' }, body: JSON.stringify(recipe)});Moderation Process
Section titled “Moderation Process”All submitted recipes go through a moderation process:
- Submission: Your recipe is saved with status “pending”
- Review: Our team reviews the recipe for quality and compliance
- Approval: If approved, status changes to “approved” and it becomes publicly visible
- Feedback: If rejected, you’ll receive feedback on what needs improvement