https://github.com/studiowebux/restofrigo-backend
Backend for Rest-O-Frigo Mobile Application - An LLM Based recipe generator
https://github.com/studiowebux/restofrigo-backend
app chatgpt ingredients llm mobile recipe
Last synced: 2 months ago
JSON representation
Backend for Rest-O-Frigo Mobile Application - An LLM Based recipe generator
- Host: GitHub
- URL: https://github.com/studiowebux/restofrigo-backend
- Owner: studiowebux
- License: gpl-3.0
- Created: 2025-07-27T17:45:51.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2025-07-27T18:52:48.000Z (2 months ago)
- Last Synced: 2025-07-27T20:57:17.411Z (2 months ago)
- Topics: app, chatgpt, ingredients, llm, mobile, recipe
- Language: TypeScript
- Homepage:
- Size: 38.1 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Rest-O-Frigo Backend
# Steps (Setup Using Docker)
1. Create the `.env.docker`
```dotenv
OPENAI_API_KEY=YOUR_OPENAI_KEY
MONGO_DB_URL=mongodb://127.0.0.1:27018
MONGO_DB_NAME=restofrigo
```2. Update the `docker-compose.yml` to fit your configuration
3. Start the application, `docker compose up -d`
4. Setup the Database, `cd prompt; deno task setup`
5. Create an API Key, `cd prompt; deno task create --email=tommy@studiowebux.com --tokens=10`
6. Test endpoints- **Generate a recipe**: `http POST localhost:9992/ Authorization:YOUR_API_KEY --raw '{
"threadId": "session123",
"prompt": "Homemade vanilla ice cream recipe",
"revision": 0
}'`
- **Current usage**: `http GET localhost:9992/usage Authorization:YOUR_API_KEY`7. Update the mobile app `endpoint` and `token` to fit your configuration.