Git Product home page Git Product logo

discover-coffee-stores's Introduction

Hi there ๐Ÿ‘‹

Haii! I'm Ankita Kulkarni ๐Ÿ‘‹๐Ÿฝ

  • โญ๏ธ A Developer, Educator, Leader, a Conference Speaker, and recently transitioned to being a Creator
  • ๐Ÿ‘ค Spent 12+ years in Tech at the intersection of Front-end and Leadership
  • โœ๏ธ Taught 10,000+ students online
  • ๐Ÿชด Grown 100+ developers & leaders (either managed or mentored them) and led 25+ developer teams at a time
  • ๐ŸŒŽ Worked for IBM, Tim Hortons, Burger King, Popeyes, Borrowell, WealthSimple, Roche, Shoppers Drug Mart, Moleskine and more.

I've created a FREE 1-week course on helping developers transition into Engineering Leaders and crafting their first 90 days known as The Leader's Playbook: The First 90 Daysย ๐Ÿš€.

Frontend Snacks ๐Ÿ’Œ

Frontend Snacks is a Frontend Newsletter you'll love.

Get FREE weekly snacks.

  • A code snippet to teach complex topics visually
  • Latest Frontend gossip/news
  • A food/snack for thought

All this to help you grow as a developer!

You can sign up here

Delivered fresh in your inbox weekly

discover-coffee-stores's People

Contributors

kulkarniankita avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

discover-coffee-stores's Issues

error - Failed to load next.config.js

error - Failed to load next.config.js, see more info here https://nextjs.org/docs/messages/next-config-error
C:\Users\pc\discover-coffee-stores\next.config.js:9
export default nextConfig;
^^^^^^

SyntaxError: Unexpected token 'export'
at Object.compileFunction (node:vm:352:18)
at wrapSafe (node:internal/modules/cjs/loader:1033:15)
at Module._compile (node:internal/modules/cjs/loader:1069:27)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at ModuleWrap. (node:internal/modules/esm/translators:170:29)
at ModuleJob.run (node:internal/modules/esm/module_job:198:25)
at async Promise.all (index 0)
at async ESMLoader.import (node:internal/modules/esm/loader:385:24)

Error: Cannot read properties of undefined (reading 'results')

Hey I'm following you via ZtM and at the lesson 13 you deploy this repo, but on my side I have an error:

step to reproduce

try 1

  1. git clone the repo
  2. cd repo
  3. npm install
  4. npm run dev

try 2

  1. git clone the repo
  2. cd repo
  3. npm install
  4. npm audit fix
  5. npm run dev

error

error - TypeError: Cannot read properties of undefined (reading 'results')
    at getListOfCoffeeStorePhotos (D:\Public\discover-coffee-stores\.next\server\pages\index.js:276:43)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async fetchCoffeeStores (D:\Public\discover-coffee-stores\.next\server\pages\index.js:281:18)
    at async getStaticProps (D:\Public\discover-coffee-stores\.next\server\pages\index.js:3107:24)
    at async Object.renderToHTML (D:\Public\discover-coffee-stores\node_modules\next\dist\server\render.js:329:24)
    at async doRender (D:\Public\discover-coffee-stores\node_modules\next\dist\server\next-server.js:1144:38)
    at async D:\Public\discover-coffee-stores\node_modules\next\dist\server\next-server.js:1236:28
    at async D:\Public\discover-coffee-stores\node_modules\next\dist\server\response-cache.js:64:36 {
  page: '/'
}
wait  - compiling...
event - compiled successfully

image

Foursquare API response no longer includes "neighborhood" field with other important issues

  1. The API value has changed. You can check here to see that Foursquare no longer provides neighborhood as a response. Locality or cross_street could be used in place of that.

  1. The Airtable API key will be deprecated in January 2024, and they recommend using a personal access token instead. However, after configuring it, the following code:
export const fetcher = (url) => fetch(url).then((res) => res.json());

shows an error when used for useSWR (500 internal error) . I am still working on fixing this and will contact the team, as discussed in the airtable-js repository.


  1. The image changes on refresh when you visit this page. This is definitely a bug, and it occurs in most coffee store components, including pre-rendered and dynamic ones.

I hope this helps in improving the project.

I learned Next.js from this public repository. Thank you for making it available.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.