Skip to content

Latest commit

 

History

History
81 lines (65 loc) · 2.53 KB

File metadata and controls

81 lines (65 loc) · 2.53 KB

AI-based Recipe Generation for Jumbo Supermarkten

Introduction

This project contains a small prototype of an AI-based recipe generation system for Jumbo Supermarkten. The system generates recipes based on a user-specified ingredient list and autofills the missing ingredients. This project contains a small mock-up of the Jumbo Supermarkten mobile app, to place the recipe generator in a realistic context. Due to limited time and resources, the project is a proof-of-concept and not a fully functional application.

This project was created for the group project of the course "Information Strategy", from the Master's in Business Information Management at the Erasmus University Rotterdam.

Technologies Used

  • TypeScript programming language;
  • React Framework for the client application;
  • TailwindCSS for styling the frontend components;
  • DaisyUI for pre-built TailwindCSS-based UI components;
  • OpenAI API for generating recipes based on user input (GPT-4o-mini model).;

Since there was no public Jumbo API for querying products, we have used the Albert Heijn API instead.

Installation

Prerequisites

For this project to run, you need to have an OpenAI API key. You can get one by following this tutorial here.

After you have obtained your API key, create an .env file in the /client directory and add the following line:

REACT_APP_OPENAI_API_KEY=<YOUR_API_KEY>

You also need to have Node.js installed on your machine. You can download it here.

You also need to have yarn enabled. You can install it by running the following command (Windows only):

corepack enable

Installation Steps

  1. Clone the repository:
git clone
  1. Navigate to the /client directory:
cd client
  1. Install the dependencies:
yarn install
  1. Start the development server:
yarn start

Proxy Server installation (to avoid CORS policy)

  1. Navigate to the /server directory:
cd server
  1. Install the dependencies:
yarn install
  1. Start the development server:
yarn start

Contributors

These are the students from team 10 that have contributed to this project:

Student ID
Codrin Socol 744294cs
David Peta 744425dp
Ioana Buia 741838ib
Alexandra Stancu 697789ms