GithubHelp home page GithubHelp logo

meal-recommender's Introduction

Chef Botyardee

This repo is setup with three package.json files. One in the base (this directory), one in the api directory, and one in the ui directory. This is to allow for the API and client to be deployed separately.

This directory contains the linting and formatting configuration for the entire project.

Base Setup

API

Setup

  • Install Postgres v15
  • Copy .env.example to .env and fill in the values
  • Create meal_recommender database in Postgres:
psql -h localhost -p 5432 -U postgres -c "CREATE DATABASE meal_recommender;"

Running the API

  • nvm use to use the correct node version
  • yarn to install dependencies
  • yarn dev to start the API

UI

Setup

  • Copy .env.example to .env and fill in the values

Running the UI

  • yarn start to start the UI

meal-recommender's People

Contributors

mstephenhunt avatar

Watchers

 avatar  avatar

meal-recommender's Issues

Associate User to JWT

When a user makes a request to an endpoint using their JWT, there should be user information saved somewhere that's contextually available.

Use Cached Recipe if Available

If a user asks for a recipe name that already exists, instead of getting a new one from OpenAI, should grab it from the DB.

Ingredient Metadata

The response from OpenAI for ingredient sometimes contains information like "(Optional)". This should be put into a metadata field... somewhere. Right now it's in the name field for the Ingredient.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.