Skip to content

natesawant/recipe-recommender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Recipe Recommender

Crave it? Say it. Cook it.

Getting Started

To start the application, you will need to run both the frontend and the backend in separate terminals.

The following steps require the installation of Taskfile, a tool that allows for better Makefiles! If you would like to follow these simplified steps, install it by going here. To manually run our application, see the section called Running without Taskfile

Running with Taskfile

NOTE: Please remember to place the .env file submitted with the repository into the backend directory. Otherwise, the backend will not work because of required access to MongoDB and OpenAI.

To run the frontend, first make sure that you have both npm and node installed. Then run the following:

task frontend:install
task frontend:dev # or frontend:start

To run the backend, first make sure you have python3 installed. Then, run the following:

task backend:setup
task backend:dev # or backend:start

Alternatively, you can run both the frontend and backend at the same time with the following command:

task dev # or start

Running without Taskfile

To run the frontend, first make sure that you have both npm and node installed. Then run the following from the app directory:

npm i
npm run dev

To run the backend, first make sure you have python3 installed. Then, run the following in a separate terminal window, from the backend directory:

python3 -m venv .venv
.venv/bin/python3 -m pip install -r requirements.txt
.venv/bin/python3 -m fastapi run main.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •