Coder Social home page Coder Social logo

pantry's Introduction

Pantry ๐Ÿž

Managing household stock can be a daunting task, with the constant juggle of expenses, tracking perishable items, and meal planning demanding both time and effort.

Enter Pantry - your ultimate all-in-one solution to streamline and simplify these tasks. Say goodbye to manual labor and hello to effortless stock management with Pantry by your side.

Core Features

Stock Management with Receipt Scanning ๐Ÿ“ท

Easily add items into your stock dashboard by uploading images of your receipts. Backed by Gemini API. image

Recipe Recommendation ๐Ÿ‘จโ€๐Ÿณ

Recieve daily recommendations on recipes that you can create with items in your Pantry! image

Finance Tracking ๐Ÿ’ฐ

Keep track of your spending habits through the year. View your previous grocery runs, and the items you spend most of your money on. image

Build Instructions (Development)

Prerequisites:

  • Docker
  • Node v20+
  • Auth0 Account
  • Edamam API account
  • Gemini API key
  1. Clone the Repo
git clone {REPO_URL}
  1. Create a .ENV file in your PROJECT_ROOT/pantry-backend/, replace any value that starts with "INSERT"
AUTH0_SECRET="INSERT_YOUR_AUTH0_SECRET"
AUTH0_BASE_URL="http://localhost:5000"
AUTH0_ISSUER_BASE_URL="INSERT_YOUR_AUTH0_ISSUER_BASE_URL"
AUTH0_CLIENT_ID='INSERT_YOUR_AUTH0_CLIENT_ID'
DB_USER="pantry"
DB_PASS="pantry"
DB_HOST="localhost"
DB_NAME="pantry"
DB_PORT=5432
GEMINI_API_KEY="INSERT_YOUR_GEMINI_API_KEY"
RECIPE_API_KEY="INSERT_EDAMAM_API_KEY"
RECIPE_API_APP_ID="INSERT_EDAMAM_APP_ID"
RECIPE_API_URL="https://api.edamam.com/api/recipes/v2"
REDIS_HOST="localhost"
REDIS_PORT=6379
REDIS_PASS="pass"
REDIS_USER="pantry"
  1. Start your Databases, and Redis Cache
cd pantry-backend && docker-compose up -d
  1. Start your Backend
cd pantry-backend && npm i && npm start
  1. Start your Frontend
cd pantry-frontend && npm i && npm build && npm start

pantry's People

Contributors

poromkamal avatar srrfrhmn avatar

Stargazers

Hamoon avatar  avatar

Watchers

 avatar

pantry's Issues

Implement Dashboard UI

Create a user-friendly Dashboard UI consisting of the following three main sections:

  1. Pantry Viewer:
  • Display recently added pantry items with an option to expand and view all items.
  • Each item should show an image and name.
  • On hover, provide buttons for 'Edit' and 'Delete' functionalities.
  • Include a button to initiate the 'Add Item' flow.
  • Images of items close to their expiration date should have a red tint to indicate urgency.
  1. Recommended Recipes:
  • This section will dynamically suggest recipes based on pantry contents.
  1. AI Agents Interaction:
  • Provide access to various AI agents that users can interact with for different needs.

image

Implement Spending Data API

For a user we should generate a spending analysis:

  • GET /GetSpending
    • Params:
      • From: date, default (10 years ago)
      • To: Date, default (now)
    • Description: Return an array of spending between dates of the form: [{spent: decimal, date: Date, items: int, ]

Create Recipe Recommendation

Implement an endpoint which returns the users recommended recipes for the day

You can assume that the user has basic ingredients. If they have atleast half the ingredients you can still make the recommendation.

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.