Table of Contents
Pantrify: Simplify Your Pantry Management App | Add, Edit, Delete, and Search Items
Your ultimate pantry management solution.
- Page Navigation: The ability to navigate between pages seamlessly.
- Add new pantry items easily.
- Delete items you no longer need.
- Edit existing items for accurate tracking.
- Search for items quickly to find what you need.
To get a local copy up and running, follow these simple steps:
In the project directory, you can run:
npm run dev
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes.
You may also see any lint errors in the console.
-
Frontend: Next.js, React, Tailwind CSS.
-
Backend: Firebase (Firestore for database).
-
Deployment: AWS App Runner, AWS Elastic Container Registry (ECR), Docker.
Ensure you have the following installed on your system:
git clone https://github.com/ijayhub/pantry-tracker-app.git cd pantry-tracker-app npm install npm start The app will be available at http://localhost:3000/.
To containerize the application for deployment:
FROM node:18-alpine WORKDIR /app COPY package.json package-lock.json ./ RUN npm install COPY . . EXPOSE 3000 CMD ["npm", "run", "start"] docker build -t pantry-tracker-app . docker run -p 3000:3000 pantry-tracker-app aws ecr create-repository --repository-name pantry-tracker-app aws ecr get-login-password --region <your-region> | docker login --username AWS --password-stdin <aws-account-id>.dkr.ecr.<your-region>.amazonaws.com docker tag pantry-tracker-app:latest <aws-account-id>.dkr.ecr.<your-region>.amazonaws.com/pantry-tracker-app:latest docker push <aws-account-id>.dkr.ecr.<your-region>.amazonaws.com/pantry-tracker-app:latest -
Go to the AWS App Runner Console.
-
Create a new service and select Container Registry.
-
Choose your ECR repository and select the latest image.
-
Configure environment variables and deployment settings.
-
Deploy the service.
Pantry Tracker App provides an efficient way to manage pantry inventory.
- User authentication
- Notifications
- Enhanced UI features.
For contributions and issues, visit the GitHub Repository.