A simple web application that allows users to generate a recipe based on user-inputted ingredients
- Create a .env file in the backend directory
- Get an OpenAI API Key here
- Create a MongoDB server (Not required for recipe generation)
- Paste OpenAI API Key and MongoDB server conneciton string in the .env file in the same format provided in .env.sample
API_KEY="INSERT_API_KEY_HERE" MONGODB_SERVER="INSERT_MONGODB_CONNECTION_STRING_HERE"
-
Navigate to the frontend and backend directory. Run the following in both directories
npm install
-
Run the following in both frontend and backend directores
npm start