Skip to content

thegoodscientist/used-car-prices

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm i
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Inter, a custom Google Font.

References

The following resources were used to build this application:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Other references used to create this app

Added CSV data to Firestore Firebase using FireFoo

For data fetching (removed later)

Querying Firestore

Resources used when testing out Firestore emulator

Lessons learnt the hard way......

  1. Problem with my solution:
  • The 'Used Car Price Prediction Dataset' CSV file from Kaggle had >4k entries which were imported into the database.
  • While writing my code and setting up the configurations I hit the daily quota for Firebase Cloud Storage (being 50K document reads) without realizing.
  • I created a new project on Firebase and imported a new set of data, which had fewer number of entries (50).
  • During my search I stumbled across local emulator suites which I set up with the help of Firebase documentations and makerkit Article so this issue doesn't happen again.
  1. Problem with my solution:
  • The biggest hurdle after researching and successfully implementing Firestore querying was trying to figure out how to pass the search parameters from the home page (where the user entered what they want) to the display page. I googled terms like 'Next.js 14 app router pass form data to another page' or 'Next.js 14 React query data page' and so on. After 2 stressful days (and yes I did go to bed crying) of non-stop research with many trial and errors, I used the following resources to get the data transfer between pages to work:

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published