GROCERYapp

Grocery Management tool with built-in Recipe integration and macro counter.

DSD-community

Table of Contents

Project Overview

This tool will analyze the groceries you have on hand, can help build out a grocery list for things to get for meal prepping for the week, and give a detailed list of macros such as protein, carbs, etc.

If a user puts in the items they have in the fridge, it can generate a list of recipes based on those ingredients.

Features

  • User authentication and authorization (JWT)
  • Generate grocery list
  • Analyze groceries in pantry
  • Recipe generation
  • Macro counter

Technologies

  • NextJ
  • Node.js
  • Express.js
  • PostgreSQL
  • Tailwind CSS
  • JWT Authentication

Getting Started

Prerequisites

Before running the application, make sure you have the following installed:

  • Node.js
  • PostreSQL

Installation

  1. Clone the repository
 git clone https://github.com/chitangchin/Groceryapp.git 
  1. Go to the project directory and install dependencies for both the client and server
npm devInstall

Alternative(optional)

cd client
npm install
cd server
npm install
  1. Create a .env file in both the client and server directories and add the environment variables as shown in the .env.example files.
  2. Start the server
npm startClient
npm startServer

Alternative(optional)

cd server
npm start
  1. Start the client
cd client
npm start