WallpaperMachine
The wallpapers you love. A new home on your Mac.
Discover recipes, join the Savry cooking community, and share recipes from your own kitchen.
LifestyleTypeScript · JavaScriptGitHub @blahmonsterllcOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗A comprehensive web platform for the Savry iOS app, featuring intelligent recipe generation, meal planning, and grocery list creation.
npm install
.env.local file with:DATABASE_URL="postgresql://user:password@localhost:5432/savry"
OPENAI_API_KEY="your-openai-api-key"
NEXTAUTH_URL="http://localhost:3000"
NEXTAUTH_SECRET="generate-with: openssl rand -base64 32"
NEXT_PUBLIC_APP_URL="http://localhost:3000"
npx prisma generate
npx prisma db push
npm run dev
Visit http://localhost:3000 to see the app.
POST /api/auth/register - User registrationPOST /api/auth/[...nextauth] - AuthenticationPOST /api/recipes/generate - Generate recipe (web)GET /api/recipes/popular - Get popular recipesPOST /api/meal-plans/generate - Generate meal plan (web)GET /api/discounts/[location] - Get supermarket discounts (Pro)All iOS app endpoints use Bearer token authentication and handle recipe generation server-side to keep your API key secure.
POST /api/app/auth - iOS app authenticationPOST /api/app/recipes/generate - Generate recipe (returns cached popular recipes when possible)POST /api/app/meal-plans/generate - Generate meal plan with budget optimizationPOST /api/app/grocery-list/generate - Generate grocery listGET /api/app/sync - Sync user data with iOS appThe iOS app should:
/api/app/auth with email/password to get JWT tokenAuthorization: Bearer <token> header to all subsequent requests/api/app/* endpoints for all recipe generation operations/api/app/sync to sync recipes, meal plans, and grocery listsExample iOS authentication:
// Swift example
let url = URL(string: "https://your-domain.com/api/app/auth")!
var request = URLRequest(url: url)
request.httpMethod = "POST"
request.setValue("application/json", forHTTPHeaderField: "Content-Type")
let body = ["email": email, "password": password]
request.httpBody = try? JSONEncoder().encode(body)
// Store the returned token for subsequent requests
The application uses the following main models:
# Run development server
npm run dev
# Build for production
npm run build
# Start production server
npm start
# Update database schema
npx prisma db push
This app is designed to be deployed on:
Remember to:
NEXTAUTH_URL to your production domainThe supermarket discount scraper (lib/supermarket-scraper.ts) currently uses sample data. To implement real discount scraping:
This is a private project for the Savry iOS app. For questions or issues, contact the development team.
Proprietary - All rights reserved