This repository is for the Best By Notification app, developed by the WSU Software Development Club. The app helps users manage their food items by notifying them 2 days before their products expire. It allows users to scan food items and store expiration dates, making food management easier and more efficient.
Download Node.js here: https://nodejs.org/en
In the project directory terminal:
cd client
npm install
Check if you have Python:
In the project directory terminal:
python --version
To install Python:
Directly install Python from the website: https://www.python.org/downloads/
pip install Flask
In our project directory:
cd flask-server
pip install -U Flask-SQLAlchemy
pip install -U flask-cors
In your project directory terminal (best-by-notification):
cd client
npm run start
If you are having the Front-end running, add another terminal to simultaneously run the backend.
In your project directory terminal (best-by-notification):
cd flask-server
python server.py
Before starting any work, ensure you're up-to-date with the latest version of the project. To pull the most recent changes from the remote repository, run:
git pull origin main
This command will fetch the latest changes from the main branch and merge them into your local repository.
Before starting any work, ensure you're working on one of your own branches or a branch that you've been assigned to. To switch to a branch, run the following command in your terminal:
git checkout <branch-name>
If the branch doesn’t exist yet, create it:
git checkout -b <branch-name>
Implement your changes, bug fixes, or updates within the checked-out branch. Be sure to follow coding standards and project guidelines when contributing.
After making changes, you need to stage and commit them. Make sure to use a meaningful and descriptive commit message to clearly explain what changes were made.
git add .
git commit -m "Your descriptive commit message"
Once you're satisfied with your changes, push the branch to the remote repository on GitHub:
git push origin <branch-name>
Go to the Best By Notification GitHub repository and create a pull request (PR) from your branch to the appropriate base branch (usually main).
- Go to the Pull Requests tab.
- Click on New Pull Request.
- Choose your branch and the branch you want to merge into (e.g., main).
- Add a description of the changes (along with images would be great) you made and submit the PR.
Once your pull request has been reviewed and approved by the maintainers, it will be merged into the main codebase.