Skip to content

Updates #16

@Joe-Lindie

Description

@Joe-Lindie

07/11/2022

Team 1: Abby / Joe
Create nav bar
Use dummy data
Render to homepage

Team 2: Lisa / Paz

Fetch homepage data from API
render data to page

Team 1

Continue rendering veg of the month homepage
Start with seasonal calendar page

Team 2

Start on the Recipes page

Accomplishments

  1. Fetched fruits API and render to homepage
  2. Created Navbar
  3. Created basic file structure
  4. Added responsive styling
  5. Fetched the recipes API
  6. Randomised the vag/ then grabbed recipes

Blocks

  1. Cannot render random recipes to the homepage

Where to begin tomorrow?

    • Close issues / kanban board
    • One team to continue working on random recipes
    • One team to start the seasonal calendar page

08/11/2022

Accomplishments

  1. Created tabs for seasonal calendar
  2. Filtered by month
  3. Managed to get food from API
  4. Filter recipes by monthly veg

Blocks

  1. Displaying images/names for months (maybe pass as props)
  2. File too large to render
  3. reach the limit of API calls for the day

Things to do tomorrow

  1. Send a message to mentors (about recipes API)
  2. Close issues/update the Kanban board
  3. One pull request

Team 1

  1. Extract components from the seasonal calendar

Team 2

  1. Start individual vegetable page

09/11/2022

Accomplishments

Finished the seasonal calendar page
Extract vegetable information component
Completed the recipes data

Blocks

Render recipes to page

Things to do tomorrow

  1. Deploy site

Questions for mentors?

  • 20-minute meet @ 15:00
  1. Is there any way we can call the API once and save/reuse the data? (Is the SWR package something we can use?) (Abby)

  1. Can we use useContext() to store the veg names of the month? (Paz)
  2. How does getStaticProps() work? (Lisa)
  3. Need some insight regarding deployment - Vercel has lots of errors.

Team 1

  • Deploy site!
  • Start working on the individual veg page (creating dynamic routes)

Team 2

  • Render recipes to the Recipes Page
  • Extract as component
  • Use components wherever needed

10/11/2022

Accomplishments

  • Deployed site
  • Rendered recipes to page
  • extracted recipe component

Blocks

Things to do tomorrow

Team 1

  • Respond to issues

Team 2

14/11/2022

Accomplishments

  1. Error handling for APIs
  2. Accessibility (lighthouse)
  3. Rendered nutrition onto the individual page

Blocks

  1. PR request/deployment
  2. Rendering name/image to page

Things to do tomorrow

Team 1

  1. Look into/start tests

Team 2

  1. Solve blockers

17/11/2022

Accomplishments

  1. Error handling
  2. Debugging test
  3. new tests
  4. CSS styling
  5. cleaned up code
  6. hide API keys .env files

Blocks

  1. Error handling - Not catching correctly

Tomorrow

  1. Readme

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions