Pantry Pal is a web app that allows users to browse recipes, view cooking instructions, and generate shopping lists based on selected recipes. It provides a user-friendly interface and utilizes various technologies to enhance the user experience.
Browse recipes: Users can search for recipes and view detailed information about each recipe, including ingredients, cooking instructions, and nutritional information.Cooking instructions: Pantry Pal provides step-by-step cooking instructions for each recipe, making it easy for users to follow along.Shopping list: Users can generate a shopping list based on the ingredients required for their selected recipes, helping them stay organized while grocery shopping.Map integration: The app incorporates Leaflet.js to display interactive maps.
React.js: A JavaScript library for building user interfaces.NEDB: A lightweight NoSQL database, used as a subset of MongoDB, for storing recipe data, user information, and shopping lists.JWT: JSON Web Tokens are used for secure authentication and authorization within the app.Leaflet.js: A JavaScript library for interactive maps.Express.js: A web framework for Node.js, used for handling routing and server-side logic.spoonacular API: An external API used to fetch recipe data, search for specific recipes, and retrieve detailed cooking instructions.
- Clone the repository:
git clone https://github.com/ydkulks/PantryPal.git - Install dependencies:
npm install - Set up environment variables:
- Create a
.envfile in the root directory. - Define the necessary variables, such as API keys or database connection strings, based on the provided
.env.examplefile.
- Create a
- Start the development server:
npm start
- Launch the Pantry Pal web app by visiting
http://localhost:3000in your preferred web browser. - Browse and search for recipes using the provided search functionality.
- Click on a recipe to view detailed information and cooking instructions.
- Generate a shopping list based on the selected recipes.
Contributions are welcome! If you'd like to contribute to Pantry Pal, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them with descriptive commit messages.
- Push your changes to your forked repository.
- Open a pull request, providing a detailed description of your changes.
This project is licensed under the MIT License.