This GitHub repository contains the code behind Food For Free's recipient partner portal.
Project Manager (PM): Riddhi Sahni
Technical Lead (TL): Benjamin Li
Make sure you have the following installed:
-
Node.js (LTS recommended) → Download here
Verify installation:node -v npm -v
-
Git → Download here
Verify installation:git --version
git clone https://github.com/JumboCode/food-for-free.git
cd food-for-freeInside the project folder:
npm installBefore starting development for each sprint, make sure you are working from the most recent version of main.
1. Start on main and update it:
git checkout main
git pull origin main2. Create your code branch from the fresh main:
git checkout -b sprintnumber/feature-name3. Work on your feature.
Commit and push as usual.
4. If main changes while you’re working (because someone else merged first), update your branch:
git pull origin main(run this while staying on your branch)
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun devThen open http://localhost:3000 in your browser.
You can edit the app by modifying app/page.tsx. The page auto-updates as you edit the file.
-
Always
git pullbefore making changes. -
Create a new branch for your work:
git checkout -b <branch-name>
-
Commit and push your branch, then open a Pull Request (PR) for review.
Branches should follow this format:
<sprintnumber>/<feature-name>
- Sprint number: Always 2 digits (starting at
00for the first week's sprint, then incrementing). - Feature name: Short, descriptive, and use dashes between words.
git checkout -b "00/add-weather-button"
git checkout -b "01/create-login-page"
git checkout -b "02/setup-database-schema"Note: Specifying -b causes a new branch to be created. You only need to run this when first creating the branch; when checking out to an existing branch the -b flag does not need to be included.
We use Vercel for deployment. See Next.js deployment documentation for details.